View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002193 | Xdebug | Uncategorized | public | 2023-08-08 07:10 | 2023-08-08 10:02 |
Reporter | karabanov | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Product Version | 3.2.1 | ||||
Summary | 0002193: In php 8.x the configuration specified via php_admin_value does not apply for XDebug | ||||
Description | If you define directives directly in the /etc/php/8.x/fpm/conf.d/20-xdebug.ini module config, the directives are applied and XDebug works correctly, but if you define directives in the php-fpm pool config using php_admin_value, they do not work, although phpinfo() and xdebug_info() print correct values For example: It doesn't work right PS | ||||
Steps To Reproduce | Add this directives to PHP-FPM pool config Then correct values will be displayed on the page with phpinfo() or xdebug_info(), but XDebug will not actually work, if you set these directives directly in the module config /etc/php/8.x/fpm/conf.d/20-xdebug.ini, then xdebug will work | ||||
Additional Information | All PHP versions starting from 8.0 are affected | ||||
Tags | fpm, php8.0, php8.1, php8.2, xdebug | ||||
Operating System | GNU/Linux | ||||
PHP Version | 8.0.20-8.0.29 | ||||
|
Hi, This is currently a limitation of the way how PHP-FPM and Xdebug interoperate. Xdebug needs to know when it starts whether it can enable all features, and has to do this in its "module+start". PHP-FPM allows for the changing of INI settings after this module start (through the cheers, |
|
I understand. Thank you. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-08 07:10 | karabanov | New Issue | |
2023-08-08 07:10 | karabanov | Tag Attached: fpm | |
2023-08-08 07:10 | karabanov | Tag Attached: php8.0 | |
2023-08-08 07:10 | karabanov | Tag Attached: php8.1 | |
2023-08-08 07:10 | karabanov | Tag Attached: php8.2 | |
2023-08-08 07:10 | karabanov | Tag Attached: xdebug | |
2023-08-08 09:40 | derick | Assigned To | => derick |
2023-08-08 09:40 | derick | Status | new => resolved |
2023-08-08 09:40 | derick | Resolution | open => not fixable |
2023-08-08 09:40 | derick | Note Added: 0006629 | |
2023-08-08 10:02 | karabanov | Note Added: 0006630 |