Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run DXP 3.3 on PHP 8.2 #2387

Merged
merged 4 commits into from
Jun 13, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/getting_started/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,30 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached,

=== "Ibexa DXP v3.3"

- 8.2 (see note below)
adriendupuis marked this conversation as resolved.
Show resolved Hide resolved
- 8.1
- 8.0 (PHP 8.0 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should use PHP 8.1)
- 7.4 (PHP 7.4 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should use PHP 8.1)
- 7.3 (PHP 7.3 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should use PHP 8.1)

!!! note "Quiet PHP 8.2 deprecation notices from 3rd parties "
adriendupuis marked this conversation as resolved.
Show resolved Hide resolved

To avoid PHP 8.2 deprecation notices rawly appearing in outputs
(and, for example, breaking REST answers),
add the following to your `composer.json` (after installation):

adriendupuis marked this conversation as resolved.
Show resolved Hide resolved
```json
"runtime": {
"error_handler": "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
}
```

Then run the following command:

```bash
composer dump-autoload
```

=== "eZ Platform v2.5"

- 7.1 (PHP 7.1 has reached its End of Life. Unless you have extended support from vendors like Debian or Zend, you should upgrade to Ibexa DXP v3.3 or v4.x)
Expand Down
Loading