Apache沒法啓動的問題

安裝appserv後,啓動Apache時提示msvcr110.dll文件丟失,經過在360— —人工服務— —熱門工具中搜索問題,並修復問題後,這個丟失msvcr110.dll文件的問題就沒有了。可是啓動時報錯:AH00436: No installed service named"Apache2.4".apache

 

問題解決過程:瀏覽器

1.查看防火牆,已關閉。  --排除app

2.查詢80端口,使用netstat-ano查詢本地是否用80端,經查詢無80端口占用。--排除工具

3.apache的SRVROOT配置正確。 --排除spa

4.嘗試安裝apache,用管理員身份運行cmd,cd到apache的bin目錄,輸入命令:httpd.exe -k install.cmd

Installing the 'Apache2.4' service配置

The 'Apache2.4' service is successfullyinstalled.搜索

Testing httpd.conf....service

Errors reported here must be corrected beforethe service can be started.防火牆

已安裝成功。  再次嘗試啓動apache,輸入命令:httpd.exe-k start,啓動成功。瀏覽器地址欄輸入訪問地址:http:localhost,顯示apache頁面。

相關文章
相關標籤/搜索