具體步驟如下:
1、Cmd打開命令行窗口,切換到apache安裝目錄下
cd C:MASTRSMASwin31apachebin
(推薦教程:apache從入門到精通)
2、安裝apache服務器
installed Apache services
httpd.exe -k install
3、修改配置文件
編輯文件:<安裝目錄>confhttpd.conf
4、測試該服務的配置文件
httpd.exe -n "MyServiceName" –t
5、啟動已安裝的apache服務
httpd.exe -k start
6、測試安裝結(jié)果
http://localhost:port