Created
October 31, 2013 03:50
-
-
Save BiosSun/7244141 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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