【问题标题】:PHP XAMPP log interpretation - server shutting down / connecton lost from browserPHP XAMPP日志解释-服务器关闭/浏览器连接丢失
【发布时间】: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.

【问题讨论】:

    标签: php apache xmpp


    【解决方案1】:

    知道了...对于某些文件,filesize() 失败(显然是静默)。在没有此功能的情况下运行它并且它有效。结案...

    编辑:虽然很奇怪... filesize() 突然在所有文件上都失败了。他们是本地的。 htdocs 文件夹的子目录...并且此结构的顶级文件夹设置为我的所有用户都可以完全控制此文件夹和所有子文件夹...奇怪...

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-11-18
      • 2020-09-28
      • 2022-12-16
      • 1970-01-01
      • 2013-12-11
      • 2013-08-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多