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
(1)在安装目录的conf/httpd.conf中修改:
ServerRoot "d:/Apache24"
DocumentRoot "d:/Apache24/htdocs"<Directory "d:/Apache24/htdocs">
d:/Apache24为安装目录,建议Apache安装在某个盘的根目录下
(2)安装服务:
打开cmd命令行,
在安装目录的bin中运行httpd.exe -k install
3.