windows2008下apache2.4.9安装记录
操作系统 windows2008,64位。
1、从页面:http://www.apachelounge.com/download
我已经把它放到了这里:http://pan.baidu.com/s/1eQh84D0
解压缩到D:\Apache24
2、下载并安装 vcredist_x64.exe
http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30679
我已经把它放到了这里:http://pan.baidu.com/s/1sjnrJVB
3、修改文件:D:\Apache24\conf\httpd.conf
将:c:/Apache24 替换为:d:/Apache24
4、修改文件:D:\Apache24\conf\extra\httpd-vhosts.conf
将:c:/Apache24 替换为:d:/Apache24
5、打开cmd窗口,进入:d:\Apache24\bin,运行命令:httpd -k install
出现提示:
Installing the Apache2.4 service
The Apache2.4 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
AH00558: httpd: Could not reliably determine the server's fully qualified domain
name, using fe80::f83f:2c24:a0d8:cb5. Set the 'ServerName' directive globally t
o suppress this message
6、进入服务列表,看到Apache2.4服务在列表中。启动它试试,成功。
7、浏览器浏览网址:http://localhost/
显示:It works!