windows下安装apache

1,下载地址:http://httpd.apache.org/download.cgi#apache24,选择Win32 Binary including OpenSSL 0.9.8y (MSI Installer)

2,双击安装,一路下一步,直到选择Network Domain,输入localhost.Server Name同样是localhost.邮箱名随便填一个.下一步

3,如果没有提示80端口被占用,就安装成功了.

4,在C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf下将listen 80改成listen 8080

5,打开右下角的Monitor Apache Servers,restart

6,检查http://localhost:8080/index.html,能否正常打开

参考:http://wenku.baidu.com/view/95293b8ba0116c175f0e48fc.html

posted @ 2013-07-22 10:50  zhaofei_001  阅读(196)  评论(0编辑  收藏  举报