Fix JIT after install and uninstall of Xdebug

Viewed 910

After installing Xdebug JIT is no longer working:

PHP Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

Have uninstalled Xdebug and reinstalled PHP, but I still get the error. How to fix it?

apt-get remove --purge php-xdebug

apt-get install --reinstall php8.0-fpm php8.0-apcu php8.0-imap php8.0-curl php8.0-mysql php8.0-mbstring php8.0-bcmath php8.0-xml php8.0-redis php8.0-intl php8.0-soap php8.0-ssh2
1 Answers

If you still get the error, then Xdebug (or another extension) is still being loaded. php -m will tell you which modules are loaded, and php --ini which INI files PHP is using, which might load xdebug (or another extension).

Related