2013-03-13 55 views
3

我在他們的網站上安裝了apache msi,在我的windows 7機器上。啓動Apache2服務(os 5)訪問被拒絕

我得到的日誌文件時,通過IE試試我的域名&端口名稱下面的錯誤,

Starting the Apache2 service 
(OS 5)Access is denied. : Apache2: Failed to open the service. 
Starting the Apache2 service 
(OS 5)Access is denied. : Apache2: Failed to open the service. 
Starting the Apache2 service 
(OS 5)Access is denied. : Apache2: Failed to open the service. 
Starting the Apache2 service 
(OS 5)Access is denied. : Apache2: Failed to open the service. 
(OS 5)Access is denied. : Failed to open the Apache2 Service 

任何幫助將是巨大的。

回答

9

在窗口同時打開你要打開它作爲「以管理員身份運行」命令提示符,然後你可以能夠啓動/成功地停止Apache服務器在Windows

步驟來啓動/停止Apache服務器: 點擊在開始菜單 - >在搜索框中輸入cmd - >右鍵單擊cmd - >以管理員身份運行 - >轉到apache服務器的bin文件夾 - >啓動/停止服務器

檢查日誌狀態爲

希望能夠解決您的問題

2

檢查管理員安全組是否具有對xampp文件夾或xampplite文件夾的完全訪問權限。

+1

你是如何做到這一點的? – testerjoe2 2017-01-07 00:39:44