Windows Server 2008安装Apache
1.下载地址
官网:http://httpd.apache.org/download.cgi
2.版本:
官方提供了五个版本,如果是需要自建不想使用集成开发环境的可以选择ApacheHaus,这里我就是使用的ApacheHaus
3.选择适合自己服务器的版本,我选择的是64位
4.下载完成后将其解压,然后使用Windows powershell移动至其安装目录的bin目录下,建议使用管理员模式启动
5.安装apache服务
使用命令行:httpd.exe -k install
如果正常安装,则提示一下信息:
注意:如果输入命令行提示如下信息,则更换如下命令行解决: ./httpd.exe -k install
6.成功安装后,点击bin目录下的ApacheMonitor.exe,即可启动Apache服务,在浏览器中键入localhost即可看到启动界面
7.修改Apache更目录,部署多站点访问等,参见其他资料