在给apache配置php的过程中,如果php安装目录里没有php5apache2_2.dll,一定是下载的版本不对。
php 5.5有好几个版本:
VC11 x86 Non Thread Safe
VC11 x64 Non Thread Safe
VC11 x86 Thread Safe
VC11 x64 Thread Safe
以上四个版本中,non thread safe版的php在安装过程中,没有apache的选项:
select the web server you wish to setup
iis fastcgi
other cgi
do not setup a web server
而thread safe版的安装过程中有apache 2.2.x module选项:
select the web server you wish to setup
apache 2.2.x module
apache cgi
iis fastcgi
iis cgi
nsapi
xitami
netserve web server
other cgi
do not setup a web server
-------------------------
所以应该下载的版本是 php 5.5 thread safe 去php官网下载,http://windows.php.com/download/
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!