View Issue Details

IDProjectCategoryView StatusLast Update
0002050XdebugInstallationpublic2021-12-06 10:16
Reporterkonstantinrjab Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformdockerOSubuntuOS Version20.04
Product Version3.1.2 
Summary0002050: PHP Warning: JIT is incompatible with third party extensions
Description

I see this warning when I run php -v
PHP Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

It worked with same php cinfig and php8.0 and xdebug 3.0.4. But I see this warning after updating to php 8.1 and xdebug 3.1.2

Steps To Reproduce

php -v

Additional Information

Dockerfile
FROM php:8.1-fpm

RUN pecl install xdebug \
&& docker-php-ext-enable xdebug

COPY php.ini $PHP_INI_DIR

CMD ["php-fpm"]

EXPOSE 9003

WORKDIR /var/www

php.ini
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.client_host=host.docker.internal

log_errors=On
error_reporting=E_ALL
error_log=/var/www/log/php_error.log

upload_max_filesize=200M
post_max_size=202M

zend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
opcache.jit_buffer_size=32M
opcache.jit=1235

TagsNo tags attached.
Operating System
PHP Version8.0.10-8.0.19

Activities

derick

2021-12-06 10:16

administrator   ~0006171

It didn't "work" with PHP 8.0 either, but you might not have seen a warning.

This is expected behaviour, and is also documented: https://xdebug.org/docs/compat#compat

Issue History

Date Modified Username Field Change
2021-12-06 10:06 konstantinrjab New Issue
2021-12-06 10:16 derick Assigned To => derick
2021-12-06 10:16 derick Status new => resolved
2021-12-06 10:16 derick Resolution open => no change required
2021-12-06 10:16 derick Note Added: 0006171