`

php-fpm nginx php 日志输出日志文件配置

阅读更多
[align=baseline; color: #1c1c1c; font-family: Varela, sans-serif; line-height: 30.399999618530273px;]php-fpm.conf
yes

php.ini

error_log =/dir/you/want/to/use/for/logging.log
nginx.conf
# The final "error" text at the end of the next line is crucial# You can also use any of the following in it's place:# "debug | info | notice | warn | error | crit | alert | emerg"

error_log /dir/to/your/nginx/site.log error;
[/align]


参考:https://blog.ed.gs/2012/10/16/php-fpm-error-logging-to-nginx/
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics