大佬教程收集整理的这篇文章主要介绍了linux – 没有什么是用php5-fpm.log编写的,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
error_log = /var/log/PHP5-fpm.log
我注意到我在Ubuntu 12.04中找到的大部分日志都不是用14.04编写的.例如,如果我在我的Ubuntu 12.04中重新启动PHP5-fpm,则会写入重启日志,但是,这不会发生在14.04中.我在14.04错过的另一个日志如下:
[23-Aug-2014 16:23:03] NOTICE: [pool web42] child 118098 exited with @R_648_6756@ after 12983.480191 seconds from start [23-Aug-2014 16:23:03] NOTICE: [pool web42] child 147653 started [23-Aug-2014 17:27:31] WARNING: [pool web8] child 76743,script '/var/www/mysite.com/web/wp-comments-post.PHP' (request: "POST /wp-comments-post.PHP") execuTing too slow (12.923022 seC),logging
我真的很想拥有这种日志,所以我会知道慢速脚本执行的时间长度.
有没有人知道除了/etc/PHP5/fpm/PHP-fpm.conf之外我是否还需要更改Ubuntu 14.04中的其他设置?
更新:
这是我运行/etc/init.d/PHP5-fpm restart时的结果; find / -type d -name / proc -prune -o -type f -mmin 2 -print:
find: warning: Unix filenames usually don't contain slashes (though pathnames do). That means that '-name `/proc'' will probably evaluate to false all the time on this system. You might find the '-wholename' test more useful,or perhaps '-samefile'. Alternatively,if you are using GNU grep,you Could use 'find ... -print0 | grep -FzZ `/proc''. /var/log/ispconfig/httpd/mysite.net/error.log /var/www/clients/client1/web4/web/wp-content/cache/page_enhanced/mysite.net/page/12-cool-hybrid/_index.html /var/www/clients/client1/web11/log/error.log /var/www/clients/client1/web11/tmp/sess_phi0akqc8k4r6pkqkg26im83i4 /var/www/clients/client1/web11/tmp/sess_vibcotqj4hht6u9boij9mufjs0 /var/www/clients/client1/web11/tmp/sess_lfdh2ol4hotpforolq693hvj70 /var/www/clients/client1/web11/tmp/sess_64slp06h69v35tg6nfq6u1uqm2
以上是大佬教程为你收集整理的linux – 没有什么是用php5-fpm.log编写的全部内容,希望文章能够帮你解决linux – 没有什么是用php5-fpm.log编写的所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。