小编Jim*_*Jim的帖子

php error_log无效

这已被问过1000次,我在浏览之前浏览了不同的帖子,但没有找到答案.只要我用PHP编写程序,这一直是工作的噩梦.有人可以告诉我这里我做错了什么吗?

我在ini文件中设置了error_log以及error_reporting = E_ALL | E_STRICT

我还缺少什么?这通常给了我.我希望在ini文件中设置此集,而不是在我的脚本中.

另一件有趣的事情是,当我故意尝试在我的一个脚本中抛出错误时,Apache会一遍又一遍地重新启动.


这是我发生一次错误后的事件日志.在时间戳拍摄

Wed Nov 04 19:34:23 2009] [notice] Apache/2.2.14 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Wed Nov 04 19:34:23 2009] [notice] Server built: Sep 28 2009 22:41:08
[Wed Nov 04 19:34:23 2009] [notice] Parent: Created child process 1700
[Wed Nov 04 19:34:23 2009] [notice] Child 1700: Child process is running
[Wed Nov 04 19:34:23 2009] [notice] Child 3008: Released the start mutex
[Wed Nov 04 19:34:23 2009] [notice] Child 1700: Acquired the …
Run Code Online (Sandbox Code Playgroud)

php error-logging selinux error-log

26
推荐指数
5
解决办法
5万
查看次数

标签 统计

error-log ×1

error-logging ×1

php ×1

selinux ×1