【已解决】

httpd.exe: Syntax error on line 521 of D:/phpstudy_pro/Extensions/Apache2.4.39/conf/httpd.conf: Syntax error on line 20 of D:/phpstudy_pro/Extensions/Apache2.4.39/conf/vhosts/localhost_80.conf: Expected </Directory> but saw </VirtualHost>

httpd.exe: Syntax error on line 521 of D:/phpstudy_pro/Extensions/Apache2.4.39/conf/httpd.conf: Syntax error on line 20 of D:/phpstudy_pro/Extensions/Apache2.4.39/conf/vhosts/localhost_80.conf: Expectedbut saw

问题比较着急?请联系QQ:760483
  • phpstudy01
  • phpstudy01  采纳为最佳  2019-12-26 14:08:161楼

    出现这个问题的原因:

    手动修改httpd.conf文件并删除了文件结尾处的换行导致。

    解决方案,见:

    https://www.xp.cn/wenda/12982.html

    关于httpd.conf文件手动修改后,升级8.1,Apache无法启动报错的解决办法

    +添加回复

  • 回复