php-fpm 开启错误日志

#php-fpm.conf
#open 
catch_workers_output = yes

#php.ini
log_errors = On
error_log=/data/logs/php-fpm/error.log
error_reporting= E_ERROR | E_PARSE


#check phpinfo error_log property
原文地址:https://www.cnblogs.com/allenhaozi/p/4912274.html