apache 2.2.11 +php 5.3.3 在win7 64 bit系統中无法启动解决方法

未安装PHP时Apache可以正常启动,安装PHP后无法启动,查看error.log,提示:

 

[Tue Aug 10 16:22:13 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:22:24 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:22:32 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:22:42 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:22:50 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:22:59 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:23:10 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:23:19 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Aug 10 16:24:02 2010] [warn] pid file C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

 

参考了如下的网址的资料问题解决:http://ayiui4566.iteye.com/blog/658391

 

于是屏蔽相关的DLL,发现屏蔽如下DLL后Apache正常启动了

 

[PHP_OCI8]
;extension=php_oci8.dll

[PHP_EXIF]
;extension=php_exif.dll

 

你可能感兴趣的:(apache,C++,c,PHP,C#)