diff --git a/config/php/cli/conf.d/99-sygal.ini b/config/php/cli/conf.d/99-sygal.ini index 32542da415094c3b61f71f7022ac1ca4088b56b0..12d29734ea625ee14a23638b678105a2da12a19d 100644 --- a/config/php/cli/conf.d/99-sygal.ini +++ b/config/php/cli/conf.d/99-sygal.ini @@ -20,15 +20,15 @@ max_execution_time = 240 memory_limit = 2048M -;# Xdebug v3 +# Xdebug v3 ;xdebug.mode = develop,debug ;xdebug.client_host = localhost ;xdebug.client_port = 9003 ;xdebug.start_with_request = yes ;xdebug.remote_handler = dbgp ;xdebug.discover_client_host = true -;xdebug.var_display_max_children = 1024 -;xdebug.var_display_max_data = -1 -;xdebug.max_nesting_level = 256 -;# Attention: trop diminuer 'max_nesting_level' peut causer une erreur 'Maximum function nesting level of x reached' +xdebug.cli_color = 1 +;xdebug.var_display_max_data = 512 # controls how large strings can be before they're truncated +;xdebug.var_display_max_depth = 3 # controls how many levels deep into a data structure information is shown. +;xdebug.var_display_max_children = 1024 # controls how many array elements or object properties are shown. diff --git a/config/php/fpm/conf.d/99-sygal.ini b/config/php/fpm/conf.d/99-sygal.ini index 4bfa0937263628a3647bf8e893b66e0f47a6a78b..a3a869f6c0a2de65a6cd782ce5987b22b57fd467 100644 --- a/config/php/fpm/conf.d/99-sygal.ini +++ b/config/php/fpm/conf.d/99-sygal.ini @@ -38,8 +38,8 @@ xdebug.client_port = 9003 xdebug.start_with_request = trigger xdebug.remote_handler = dbgp xdebug.discover_client_host = true -xdebug.var_display_max_children = 1024 -xdebug.var_display_max_data = -1 -xdebug.max_nesting_level = 256 -# Attention: trop diminuer 'max_nesting_level' peut causer une erreur 'Maximum function nesting level of x reached' +xdebug.cli_color = 1 +xdebug.var_display_max_data = 512 # controls how large strings can be before they're truncated +xdebug.var_display_max_depth = 1 # controls how many levels deep into a data structure information is shown. +xdebug.var_display_max_children = 1024 # controls how many array elements or object properties are shown. diff --git a/config/php/fpm/pool.d/www.conf.part b/config/php/fpm/pool.d/www.conf.part index 031d8143702280a7151ad85f1e6a40429270ca97..015d4274d66556e96c38fdeea785a44d041e3739 100644 --- a/config/php/fpm/pool.d/www.conf.part +++ b/config/php/fpm/pool.d/www.conf.part @@ -5,5 +5,5 @@ catch_workers_output = yes php_flag[display_errors] = on -php_admin_value[error_log] = ${FPM_PHP_LOG_FILE} +php_admin_value[error_log] = /var/log/php-fpm.log php_admin_flag[log_errors] = on