Skip to content

Commit

Permalink
Run DXP 3.3 on PHP 8.2 (#2387)
Browse files Browse the repository at this point in the history
* docs/getting_started/requirements.md: Add PHP 8.2 support

---------

Co-authored-by: Tomasz Dąbrowski <[email protected]>
  • Loading branch information
adriendupuis and dabrt authored Jun 13, 2024
1 parent b567f47 commit 1ba54e4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/getting_started/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,29 @@ 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 appearing in outputs (and, for example, breaking REST answers),
add the following to your `composer.json` after installation:

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

Please sign in to comment.