在 php-fpm.conf中的[www]下添加php_flag[display_errors] = On

 

重启php-fpm即可

/etc/init.d/php-fpm restart

相关文章: