Home  >  Article  >  php教程  >  apache配置 php中没有php5apache2

apache配置 php中没有php5apache2

WBOY
WBOYOriginal
2016-06-06 19:49:33790browse

在给apache 配置 php的过程中,如果php安装目录里 没有 php5apache2_2.dll,一定是下载的版本不对。 php 5.3.4有v9版和v6好几个版本 网站左边有几段文字: which version do i choose? if you are using php with apache 1 or apache2 from apache.org you need

在给apache配置php的过程中,如果php安装目录里没有php5apache2_2.dll,一定是下载的版本不对。
php 5.3.4有v9版和v6好几个版本
网站左边有几段文字:
which version do i choose?
if you are using php with apache 1 or apache2 from apache.org you need to use the vc6 versions of php
所以要下载v6c versions of php ,
v6c又有两个版本如下:
vc6 x86 non thread safe
vc6 x86 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.3.4vc6 x86 thread safe 去php官网下载,http://windows.php.net/download

有关apache的安装和配置请参照:《Apache+php+mysql在windows下的安装与配置图解(最新版)》

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn