Windows7 apache启动失败的解决方法
(编辑:jimmy 日期: 2024/11/14 浏览:3 次 )
安装完成后,装上apache2与mysql均一切顺利,配置好httpd.conf,加载php5apache2模块后,启动apache失败,日志如下:
复制代码 代码如下:
[Sun Jul 19 17:05:55 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
[Sun Jul 19 17:06:00 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
[Sun Jul 19 17:06:04 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
[Sun Jul 19 19:00:56 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
注释掉LoadModule php5_module I:/win7_amp/php/php5apache2_2.dll后就能顺利启动,看来是加载这个模块后出了问题。但是我未能找到解决办法,以后在win7 rc 7100中都能正常使用:(,不知道有没有朋友和我一样遇到此类问题。
google httpd.pid overwritten — Unclean shutdown of previous Apache run?后倒是有些发现,但大家都是删除httpd.pid这个文件后重启就OK了,win7下无效。
复制代码 代码如下:
[Sun Jul 19 17:05:55 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
[Sun Jul 19 17:06:00 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
[Sun Jul 19 17:06:04 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
[Sun Jul 19 19:00:56 2009] [warn] pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
注释掉LoadModule php5_module I:/win7_amp/php/php5apache2_2.dll后就能顺利启动,看来是加载这个模块后出了问题。但是我未能找到解决办法,以后在win7 rc 7100中都能正常使用:(,不知道有没有朋友和我一样遇到此类问题。
google httpd.pid overwritten — Unclean shutdown of previous Apache run?后倒是有些发现,但大家都是删除httpd.pid这个文件后重启就OK了,win7下无效。
下一篇:WinRAR 任务计划 免费定时备份