windows安装Apache2.4启动解决the requested operation has failed的问题

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