apache2在win7 rtm下无法启动

in Develop

昨天安装的win7 rtm 7600.16385,这个是win7 rtm的最终版本了,值得一试。

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

15 Comments

15 Comments

  1. 我用的是win7 rtm 7600.16384,用的是PHPnow套件,里面的apache 2.0 一切正常。

  2. 我用的16385,就是无法启动。。。
    看来只能一切重来了~~~~

  3. php5apache2这个我没试,试试看mod_fcgid吧,用他跑FastCGI应该没有问题。

  4. 是否安装iis,是否和80端口有冲突。

  5. 郁闷加冲突,我以前经常碰到这些情况后来都用了,不自己配了。

  6. I have already seen it somethere…

  7. 我怎么听说最终版是16386呢?
    最近网站改版了?我的友情链接不见了,可以帮我加上吗?呵呵

  8. Amazing! Not clear for me, how offen you updating your http://www.yibin001.com.

  9. Where are you from? Is it a secret? :)
    Eremeeff

  10. 我用RC版,直接用APMSERV

  11. @幻想曲, 我的启动到是正常,就是速度慢了不少,同样一个程序,在xp下是40ms,到7下就是600ms了。

  12. 我装的wamp2 也是apache 无法运行。真希望能解决,我试试PHPnow怎么样。

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>