This page lists which versions of Xdebug are still supported, and with which versions of PHP they can be used.
This table lists which version of Xdebug is still supported, and which ones to use for older PHP versions. In general, at any point when an Xdebug version is released, it will support the currently supported PHP versions.
| Supported | Security Fixes | Unsupported | Future |
|---|
gzfwrite which Xdebug 3.1
needs for compression of profile and trace files.
Can be loaded together with Xdebug, but it is not 100% compatible.
Load Xdebug after Opcache in php.ini for better
compatibility. When running php -v, Xdebug should be listed
below Opcache. In phpinfo(); output, Xdebug should be listed
behind Opcache in the Zend Scripting Language Engine section.
When Opcache's optimiser is enabled, some functionality in Xdebug will not work, or differently, because it removes or changes PHP's VM instructions that Xdebug relies on.
Xdebug does not work with PHP's JIT engine, which is implemented in Opcache. When Xdebug is loaded with PHP's JIT on, you will get a warning, and JIT will be disabled.
Xdebug does not work together with other extensions that deal with PHP's internals. This is due to compatibility problems with those modules.