湛蓝之海 发表于 2021-11-4 13:16:16

Windows7 apache启动失败的解决方法

安装完成后,装上apache2与mysql均一切顺利,配置好httpd.conf,加载php5apache2模块后,启动apache失败,日志如下:

pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
pid file I:/win7_amp/Apache2/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?
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下无效。
https://www.uoften.com/serverhost/winhost/20180415/80379.html
页: [1]
查看完整版本: Windows7 apache启动失败的解决方法