各位大侠,我不太懂php,自己搭建了一个discuz X3,apache里面配置了2个VirtualHost,一个是www首页,就一个index.html静态页面,另外一个就是php论坛,使用了1,2天,php论坛会时不时的不能访问,但www首页可以,启动apache后,看到有几个错误,百度了一下也基本是没有解决,错误如下
[Sun May 26 11:11:53.366750 2013] [mpm_winnt:notice] [pid 3300:tid 376] AH00455: Apache/2.4.4 (Win32) PHP/5.4.15 configured -- resuming normal operations
[Sun May 26 11:11:53.366750 2013] [mpm_winnt:notice] [pid 3300:tid 376] AH00456: Server built: Feb 23 2013 12:42:00
[Sun May 26 11:11:53.366750 2013] [core:notice] [pid 3300:tid 376] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Sun May 26 11:11:53.382375 2013] [mpm_winnt:notice] [pid 3300:tid 376] AH00418: Parent: Created child process 1752
[Sun May 26 11:11:53.913625 2013] [mpm_winnt:notice] [pid 1752:tid 1752] AH00354: Child: Starting 500 worker threads.后来我百度了很久,配置了httpd-mpm,我是windows平台,配置如下
<IfModule mpm_winnt_module>
    ThreadsPerChild        150
    MaxConnectionsPerChild   500
</IfModule>但运行一会后,php论坛还是挂了,apache多了一个错误
[Sun May 26 12:46:44.054250 2013] [mpm_winnt:notice] [pid 284:tid 1752] AH00358: Child: Process exiting because it reached MaxConnectionsPerChild. Signaling the parent to restart a new child process.
[Sun May 26 12:46:44.054250 2013] [mpm_winnt:notice] [pid 6092:tid 376] AH00424: Parent: Received restart signal -- Restarting the server.
[Sun May 26 12:46:44.179250 2013] [mpm_winnt:notice] [pid 6092:tid 376] AH00455: Apache/2.4.4 (Win32) PHP/5.4.15 configured -- resuming normal operations
[Sun May 26 12:46:44.179250 2013] [mpm_winnt:notice] [pid 6092:tid 376] AH00456: Server built: Feb 23 2013 12:42:00
[Sun May 26 12:46:44.179250 2013] [core:notice] [pid 6092:tid 376] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Sun May 26 12:46:44.179250 2013] [mpm_winnt:notice] [pid 6092:tid 376] AH00418: Parent: Created child process 2444
[Sun May 26 12:46:45.054250 2013] [mpm_winnt:notice] [pid 2444:tid 1752] AH00354: Child: Starting 150 worker threads.
[Sun May 26 12:46:46.054250 2013] [mpm_winnt:notice] [pid 284:tid 1752] AH00364: Child: All worker threads have exited.请高人指点啊。ApachePHPPHP5

解决方案 »

  1.   

    补充一点,www主站就一个html静态页面,为什么apache里面会有好多这样的错误
    [Sun May 26 10:37:08.554250 2013] [:error] [pid 568:tid 1244] [client 112.64.235.86:49079] script 'C:/appxiazai/www/member.php' not found or unable to stat
    [Sun May 26 10:38:04.569875 2013] [:error] [pid 568:tid 1244] [client 183.60.215.50:34760] script 'C:/appxiazai/www/show.php' not found or unable to stat
    [Sun May 26 10:41:16.616750 2013] [:error] [pid 568:tid 1244] [client 183.60.215.50:57506] script 'C:/appxiazai/www/forum.php' not found or unable to stat
    [Sun May 26 11:10:38.741750 2013] [:error] [pid 2420:tid 1236] [client 219.131.180.72:3186] script 'C:/appxiazai/www/member.php' not found or unable to stat, referer: http://www.88kouchi.com/member.php?mod=joinusba
    [Sun May 26 11:10:39.101125 2013] [:error] [pid 2420:tid 1236] [client 219.131.180.72:3186] script 'C:/appxiazai/www/member.php' not found or unable to stat, referer: http://www.88kouchi.com/member.php?mod=joinusba&inajax=1
    [Sun May 26 11:18:56.023000 2013] [:error] [pid 6040:tid 572] [client 173.199.120.131:35652] script 'C:/appxiazai/www/home.php' not found or unable to stat
    [Sun May 26 11:27:59.804250 2013] [:error] [pid 6040:tid 552] [client 123.151.148.179:52927] script 'C:/appxiazai/www/connect.php' not found or unable to stat, referer: http://www.88kouchi.com/
      

  2.   

    有人用自动扫描的公司在扫描你们的web服务.
    至于win下的apache php 错误 我以前是碰过多次了 各种问题 大访问的时候问题更多 所以还是建议你尽量搬迁到linux下
      

  3.   

    请问他扫描我的web有什么好处?能帮我解决下windows下的问题么?
      

  4.   

    目前我把apache重启了,还没有图,不能访问就是浏览器提示无法访问那个样子的,但是这时候80端口什么的都能tel上
      

  5.   

    打不开的时候是提示无法找到地址,然后我ping不同,这个和apache有关系么?
      

  6.   

    由于 apache2.4 存在不稳定因素,所以 php 并未提供对 apache2.4 的支持
    你使用了非 php 认可的支持库,当然也就要自己承担后果了
      

  7.   

    ping不通,搞不好是网络的问题!
      

  8.   

    安装一个集成的PHP运行环境。