欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

apache 支持 php5 的配置方法

 更新時(shí)間:2010年03月18日 23:29:14   作者:  
httpd.conf下讓apache 支持 php5 的配置
1.下載apache安裝包,并執(zhí)行安裝。
2.下載php5的zip包,并解壓到c:\php
3.修改apache的配置文件httpd.conf,添加以下:
復(fù)制代碼 代碼如下:

#load the php main library to avoid dll hell
Loadfile "C:\php\php5ts.dll"
#load the sapi so that apache can use php
LoadModule php5_module "C:\php\php5apache2_2.dll"
#set the php.ini location so that you don't have to waste time guessing where it is
PHPIniDir "C:\php"
#Hook the php file extensions, notice that Addtype is NOT USED, since that's just stupid
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps


4.如果出錯(cuò),則將php目錄下的dll 復(fù)制到c:\windows\system32目錄。

相關(guān)文章

最新評(píng)論