启动Apache2服务(os 5)访问被拒绝

kiayqfof  于 2022-11-16  发布在  Apache
关注(0)|答案(4)|浏览(316)

我安装了apache msi从他们的网站在我的windows 7机器。
我在日志文件中得到以下错误时,尝试我的域名和端口名通过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

任何帮助都是最好的。

unftdfkk

unftdfkk1#

当打开命令提示符时,你必须以“以管理员身份运行”的身份打开它,然后你就可以在Windows中成功地启动/停止Apache服务器
在Windows中启动/停止Apache服务器的步骤:单击开始菜单--〉在搜索框中输入cmd--〉右键单击cmd --〉以管理员身份运行--〉转到Apache服务器的bin文件夹--〉启动/停止服务器
检查日志以了解状态
希望这能解决你的问题

9q78igpj

9q78igpj2#

检查Administrators安全组是否对xampp文件夹或xampplite文件夹具有完全访问权限。

ha5z0ras

ha5z0ras3#

Apache只需要在日志目录上写入权限。您可以将此权限授予运行httpd.exe进程的用户

0aydgbwb

0aydgbwb4#

如果一切看起来都正确,只需选中顶部Java选项卡中的“使用默认值”框

相关问题