Apache将不会启动错误-请在cmd中输入错误

xzabzqsa  于 2022-12-19  发布在  Apache
关注(0)|答案(1)|浏览(83)
Diese Eingabeforederung nicht des Running beenden
bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting . . .
httpd.exe: Syntax error on line 35 of C:/Program Files (x86)/xampp/apache/conf/httpd.conf: server root must be a valid directory.

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue...

这是我得到的CMD提示...有人能帮忙吗?

4c8rllxm

4c8rllxm1#

在C:/Program Files(x86)/xampp/apache/conf/httpd.conf的第35行出现语法错误:服务器根目录必须是有效的目录
我建议你:

  • 打开文件C:\Program Files (x86)\xampp\apache\conf\httpd.conf;
  • 检查35号线;以及
  • ServerRoot的值更改为有效目录。

相关问题