配置Apache支持PHP(附Apache和PHP下载链接)

1.下载Apahce:

Apache:(http://www.apachelounge.com/download/)

httpd-2.4.12-win32-VC9  
httpd-2.4.12-win32-VC11
httpd-2.4.12-win64-VC11

2.配置Apache:

(1)在安装目录的conf/httpd.conf中修改:

ServerRoot "d:/Apache24"

      DocumentRoot "d:/Apache24/htdocs"
      "d:/Apache24/htdocs">

d:/Apache24为安装目录,建议Apache安装在某个盘的根目录下

(2)安装服务:

打开cmd命令行,

在安装目录的bin中运行httpd.exe -k install

配置Apache支持PHP(附Apache和PHP下载链接)_第1张图片

3.


你可能感兴趣的:(配置Apache支持PHP(附Apache和PHP下载链接))