Skip to content

Commit

Permalink
requirements.md: Add PHP 8.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed May 23, 2024
1 parent 045a3a9 commit 563eb18
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/getting_started/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,28 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached,

=== "Ibexa DXP v3.3"

- 8.2 (see note below)
- 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 "

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

```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

0 comments on commit 563eb18

Please sign in to comment.