php-fpm: refactor with deterministic config files & improved debug
All checks were successful
php-fpm-build / build (7.4) (push) Successful in 5m6s
All checks were successful
php-fpm-build / build (7.4) (push) Successful in 5m6s
This commit is contained in:
@@ -41,6 +41,10 @@ request_terminate_timeout = 300s
|
||||
request_slowlog_timeout = 5s
|
||||
slowlog = /var/log/php/www-slow.log
|
||||
|
||||
; Force all PHP errors into the container log stream so kubernetes/docker can collect them.
|
||||
php_admin_flag[log_errors] = on
|
||||
php_admin_value[error_log] = /proc/self/fd/2
|
||||
|
||||
; Redirect worker stdout and stderr to the main error log.
|
||||
; This ensures that any `echo` or `var_dump` calls from workers are captured in the container logs.
|
||||
catch_workers_output = yes
|
||||
|
||||
Reference in New Issue
Block a user