【发布时间】:2017-02-14 18:01:59
【问题描述】:
好的,首先我理解并且......允许......你们都笑了:我有一个运行 php 4,4 / apache / mysql 的本地服务器 - 安装了 xampp 发行版。只是没有时间升级所有多年来一直为我服务并且仍然为我服务的代码:-)
对于这个问题 - 我无法尝试/捕获...因为旧的 php 版本。我有一个脚本可以解析一个目录和所有文件的很多东西......并且多年来没有问题的几十万个文件......我现在发现服务器关闭/浏览器失去连接可能是因为一个文件……但对于我的生活,我不知道是哪个。所以想也许我可以通过错误日志弄清楚。但是......我没有学到很多东西 - 我想我可能会在这里问一些聪明的人,如果我可以从我的错误日志中从以下内容中学到任何东西 - 关于可能导致破坏的函数/文件或任何东西。 ..:
[Tue Feb 14 20:47:26 2017] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Tue Feb 14 20:47:26 2017] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Tue Feb 14 20:47:26 2017] [notice] Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.8 PHP/4.4.0 mod_autoindex_color configured -- resuming normal operations
[Tue Feb 14 20:47:26 2017] [notice] Server built: Jul 28 2005 18:10:37
[Tue Feb 14 20:47:26 2017] [notice] Parent: Created child process 5384
[Tue Feb 14 20:47:27 2017] [notice] Child 5384: Child process is running
[Tue Feb 14 20:47:27 2017] [notice] Child 5384: Acquired the start mutex.
[Tue Feb 14 20:47:27 2017] [notice] Child 5384: Starting 250 worker threads.
[Tue Feb 14 20:47:36 2017] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Feb 14 20:47:36 2017] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Tue Feb 14 20:47:36 2017] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Tue Feb 14 20:47:36 2017] [notice] Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.8 PHP/4.4.0 mod_autoindex_color configured -- resuming normal operations
[Tue Feb 14 20:47:36 2017] [notice] Server built: Jul 28 2005 18:10:37
[Tue Feb 14 20:47:36 2017] [notice] Parent: Created child process 3136
[Tue Feb 14 20:47:36 2017] [notice] Child 3136: Child process is running
[Tue Feb 14 20:47:36 2017] [notice] Child 3136: Acquired the start mutex.
[Tue Feb 14 20:47:36 2017] [notice] Child 3136: Starting 250 worker threads.
【问题讨论】: