apache2.4.4+php5.4.15时不时挂掉

wo383337880 2013-05-26 01:34:04
各位大侠,我不太懂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.


请高人指点啊。
...全文
2303 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
hengyu654 2013-09-10
  • 打赏
  • 举报
回复
建议使用apache2.2和php5.3
qweiu 2013-09-10
  • 打赏
  • 举报
回复
php5.3 稳定
码无边 2013-09-10
  • 打赏
  • 举报
回复
安装一个集成的PHP运行环境。
SaLaMc 2013-09-09
  • 打赏
  • 举报
回复
朋友,你这个问题解决了吗?求方法。
greenman2000 2013-08-23
  • 打赏
  • 举报
回复
防火牆的問題, 看了沒?
baoxiaohua 2013-08-22
  • 打赏
  • 举报
回复
引用 6 楼 wo383337880 的回复:
打不开的时候是提示无法找到地址,然后我ping不同,这个和apache有关系么?
ping不通,搞不好是网络的问题!
ZhouYates 2013-08-22
  • 打赏
  • 举报
回复
我现在也遇到这个问题,明明只是本地测试,要么是加载很慢,要么就直接加载不出来,像是负载很大一样。真心伤不起。
xuzuning 2013-05-26
  • 打赏
  • 举报
回复
由于 apache2.4 存在不稳定因素,所以 php 并未提供对 apache2.4 的支持 你使用了非 php 认可的支持库,当然也就要自己承担后果了
wo383337880 2013-05-26
  • 打赏
  • 举报
回复
打不开的时候是提示无法找到地址,然后我ping不同,这个和apache有关系么?
wo383337880 2013-05-26
  • 打赏
  • 举报
回复
目前我把apache重启了,还没有图,不能访问就是浏览器提示无法访问那个样子的,但是这时候80端口什么的都能tel上
一起混吧 2013-05-26
  • 打赏
  • 举报
回复
不能访问是指什么? 最好截个图出来看看。
wo383337880 2013-05-26
  • 打赏
  • 举报
回复
请问他扫描我的web有什么好处? 能帮我解决下windows下的问题么?
黄袍披身 2013-05-26
  • 打赏
  • 举报
回复
有人用自动扫描的公司在扫描你们的web服务. 至于win下的apache php 错误 我以前是碰过多次了 各种问题 大访问的时候问题更多 所以还是建议你尽量搬迁到linux下
wo383337880 2013-05-26
  • 打赏
  • 举报
回复
补充一点,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/

21,887

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧