View Issue Details

IDProjectCategoryView StatusLast Update
0002153XdebugInstallationpublic2023-01-11 14:39
ReporterOxCom Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS VersionUbuntu 22.04 LTS
Product Version3.2.0 
Summary0002153: xdebug.mode in PHP-FPM pool ignored
Description

The xdebug configuration use only global/default value for xdebug.mode settings and ignore php-fpm pools configuration

Steps To Reproduce
  1. Configure custom pool (e.g. awesome):

; Start a new pool.
; the variable $pool can we used in any directive and will be replaced by the
; pool name:
[xdebug-awesome]

user = www-data
group = www-data

listen = /run/php/php8.1-$pool-fpm.sock

listen.owner = www-data
listen.group = www-data

pm = dynamic
pm.max_children = 80
pm.start_servers = 5
pm.min_spare_servers = 3
pm.max_spare_servers = 35

php_admin_value[xdebug.mode] = debug
php_admin_value[xdebug.start_with_request] = yes
php_admin_value[xdebug.idekey] = key-$pool
php_admin_value[xdebug.client_host] = 127.0.0.1
php_admin_value[xdebug.client_discovery_header] = ""

  1. make sure that no other configuration has been provided for xdebug in PHP config files
  2. Configure simple setup with php-fpm to serve index.php with 'xdebug-awesome' pool
  3. Add phpinof(); in index.php and check settings:
    • xdebug.mode = debug
    • only development helpers feature is enabled
TagsNo tags attached.
Operating System
PHP Version8.1.10-8.1.19

Activities

OxCom

2023-01-11 14:39

reporter  

xdebug-only-pool-configured.png (150,389 bytes)   
xdebug-only-pool-configured.png (150,389 bytes)   

Issue History

Date Modified Username Field Change
2023-01-11 14:39 OxCom New Issue
2023-01-11 14:39 OxCom File Added: xdebug-only-pool-configured.png