Skip to content

Commit 72dcbe4

Browse files
adriendupuisdabrt
andcommitted
Run DXP 3.3 on PHP 8.2 (#2387)
* docs/getting_started/requirements.md: Add PHP 8.2 support --------- Co-authored-by: Tomasz Dąbrowski <[email protected]>
1 parent f560589 commit 72dcbe4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/getting_started/requirements.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,29 @@ Recommendation for production setups is to use Varnish/Fastly, Redis/Memcached,
154154

155155
=== "Ibexa DXP v3.3"
156156

157+
- 8.2 (see note below)
157158
- 8.1
158159
- 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)
159160
- 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)
160161
- 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)
161162

163+
!!! note "Quiet PHP 8.2 deprecation notices from 3rd parties "
164+
165+
To avoid PHP 8.2 deprecation notices appearing in outputs (and, for example, breaking REST answers),
166+
add the following to your `composer.json` after installation:
167+
168+
```json
169+
"runtime": {
170+
"error_handler": "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler"
171+
}
172+
```
173+
174+
Then run the following command:
175+
176+
```bash
177+
composer dump-autoload
178+
```
179+
162180
=== "eZ Platform v2.5"
163181

164182
- 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)

0 commit comments

Comments
 (0)