我在他的Windows 7机器上的网站上安装了apache msi。
尝试使用我的域名&时,我在日志文件中收到以下错误端口名称通过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
任何帮助都会很棒。
答案 0 :(得分:12)
在打开命令提示符时,您必须将其打开为“以管理员身份运行”,然后您就可以在Windows中成功启动/停止apache服务器
在Windows中启动/停止apache服务器的步骤: 点击开始菜单 - >在搜索框中输入cmd - >右键单击cmd - >以管理员身份运行 - >转到apache服务器的bin文件夹 - >启动/停止服务器
检查日志状态
希望这能解决您的问题
答案 1 :(得分:3)
检查管理员安全组是否具有对xampp文件夹或xampplite文件夹的完全访问权限。
答案 2 :(得分:1)
Apache只需要在logs目录上写入权限。 您可以将此授权给运行httpd.exe进程的用户