- 双击\Apache\Apache24\bin\的ApacheMonitor.exe启动,点击start出现the requested operation has failed报错。
- 刚开始以为是80端口的问题,改80端口也没用。
- cmd打开\Apache\Apache24\bin\,输入httpd -t也显示正常。
- cmd打开\Apache\Apache24\bin\,输入httpd.exe -w -n “apache2.4” -k start。
- 显示的不是百度经验https://jingyan.baidu.com/article/ceb9fb10d909c48cac2ba06c.html里说的OS 10013问题,而是OS 10048问题
- 然后查到这篇文章
https://blog.csdn.net/sun9979/article/details/102960811解决OS 10048问题,是因为出现了443被占用的问题,就按上文改了\conf\extra\里的两个文件,443改成442。 - 但接着出现新问题,看了server.crt文件存在,{SRVROOT}也配置过了,细看是httpd-ahssl.conf文件里有个{SSRVROOT},默认文件竟然有这个错误,就删掉一个S,改对成{SRVROOT}。
- 然后就start成功了。
总结:改443端口,${SSRVROOT}。