安装apache

1.http://httpd.apache.org/下载apache  步骤参考:http://jingyan.baidu.com/article/29697b912f6539ab20de3cf8.html

2.解压缩后把里面的Apache文件夹拿到想要的位置

3.之后切入到/bin目录以管理员权限运行cmd。window8下如何以管理员权限运行cmd?到桌面左下角--右键单击  当出现fail to open WinNT service manager ,perhaps you forget to log in as Adminstrator? 时就是没有以管理员权限运行

4.在命令行中 httpd.exe -k install   然后 httpd.exe -k start httpd.exe -k stop  用httpd.exe -t检查错误

5.中途可能出现计算机中丢失msvcr110.dll 解决方案:http://jingyan.baidu.com/album/4f7d57129fa86e1a201927de.html?picindex=2

6.之后就安装成功了

原文地址:https://www.cnblogs.com/dobestself-994395/p/4605393.html