2013-03-13 57 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