From e61a0f1de99ac0e5f06fe1b7748922a2cd474cbf Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 23 Jun 2026 08:43:35 +0100 Subject: [PATCH] php-fpm logs errors --- http/php-fpm.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/http/php-fpm.conf b/http/php-fpm.conf index e66396c..2d2043f 100644 --- a/http/php-fpm.conf +++ b/http/php-fpm.conf @@ -6,6 +6,12 @@ listen.owner = nginx listen.group = nginx listen.mode = 0660 +access.log = /var/log/php85/$pool.access.log +access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{milli}d %{kilo}M %C%%" +catch_workers_output = yes +php_admin_value[error_log] = /var/log/php85/$pool.error.log +php_admin_flag[log_errors] = on + php_admin_value[disable_functions] = exec,passthru,shell_exec,system php_admin_flag[allow_url_fopen] = off