Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
1. 修改 php-fpm.conf 文件,添加(或修改)如下配置:
error_log = log/error_log
catch_workers_output = yes
2. 修改 php.ini 文件,添加(或修改)如下配置:
log_errors = On
error_log = "/usr/local/lnmp/php/var/log/error_log"
3. 重启 php-fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment