怎么啟動(dòng)apache?
步驟一 Cmd打開命令行窗口,切換到apache安裝目錄下
cd C:MASTRSMASwin31apachebin
步驟二 安裝apache服務(wù)器 installed Apache services
httpd.exe -k install
步驟三 修改配置文件
編輯文件:<安裝目錄>confhttpd.conf
步驟四 測(cè)試該服務(wù)的配置文件
httpd.exe -n "MyServiceName" –t
步驟五 啟動(dòng)已安裝的apache服務(wù)
httpd.exe -k start
步驟六 測(cè)試安裝結(jié)果
http://localhost:port