Skip to content

Commit

Permalink
Run DXP 3.3 on PHP 8.3 (#2388)
Browse files Browse the repository at this point in the history
* Since 3.3.38, Php82HideDeprecationsErrorHandler is installed by default

---------

Co-authored-by: Adam Wójs <adam@wojs.pl>
  • Loading branch information
adriendupuis and adamwojs committed Jul 11, 2024
1 parent 2d653f8 commit 49db594
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions docs/getting_started/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,29 +120,13 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached,

=== "Ibexa DXP v3.3"

- 8.2 (see note below)
- 8.3
- 8.2
- 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 49db594

Please sign in to comment.