Monday, December 12, 2022

Enabling php error logging with caddy and php-fpm

How to enable php error logging with caddy and php-fpm

Inside the file:

pool.d/www.conf


Edit at the end:

php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on

catch_workers_output = yes

No comments:

Post a Comment