summaryrefslogtreecommitdiff
path: root/http/php-fpm.conf
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-23 08:43:35 +0100
committerJoe Carstairs <me@joeac.net>2026-06-23 08:43:35 +0100
commite61a0f1de99ac0e5f06fe1b7748922a2cd474cbf (patch)
treed6865811603a96dc43e6571abd8182e105ff59b2 /http/php-fpm.conf
parent52b013e1651e7e524f1576903f49d39abfe5dd94 (diff)
php-fpm logs errors
Diffstat (limited to 'http/php-fpm.conf')
-rw-r--r--http/php-fpm.conf6
1 files changed, 6 insertions, 0 deletions
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