PHP-FPM doesn't write to error log

见链接:https://stackoverflow.com/questions/8677493/php-fpm-doesnt-write-to-error-log 

1.修改/etc/php-fpm.d/www.conf中:

catch_workers_output = yes
php_admin_value[error_log] = /var/log/fpm-php.www.log
php_admin_flag[log_errors] = on
posted @ 2018-08-30 12:16  天长地久-无为  阅读(154)  评论(0编辑  收藏  举报