Apache安装无服务解决方法:
命令行进入apache目录下的bin ,运行如下指令即可注册服务,如:
D:\Program Files\Apache Software Foundation\Apache2.2\bin> httpd.exe -k install -n apache2.2
the requested operation has failed错误解决方法:
在找到httpd.conf文件,修改Listen 80为没被占用的端口
命令行进入apache目录下的bin ,运行如下指令即可注册服务,如:
D:\Program Files\Apache Software Foundation\Apache2.2\bin> httpd.exe -k install -n apache2.2
the requested operation has failed错误解决方法:
在找到httpd.conf文件,修改Listen 80为没被占用的端口
本文介绍了如何通过命令行在Apache目录下注册服务,并解决了在尝试启动服务时遇到的the requested operation has failed错误。此外,还提供了解决端口冲突的方法,即通过修改httpd.conf文件中的Listen指令来指定一个未被占用的端口。
155

被折叠的 条评论
为什么被折叠?



