安装完成后,装上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下无效。