Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1. 修改 php-fpm.conf 文件,添加(或修改)如下配置:
[global]
error_log = log/error_log
[www]
catch_workers_output = yes
2. 修改 php.ini 文件,添加(或修改)如下配置:
log_errors = On
error_log = "/usr/local/lnmp/php/var/log/error_log"
error_reporting=E_ALL&~E_NOTICE
3. 重启 php-fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.