Apache could not be started - ServerRoot must be a valid directory and Unable to find the specified module

后端 未结 14 1261
星月不相逢
星月不相逢 2020-12-13 06:54

I\'m using xampp portable server and I\'m having some trouble with Apache http server, it says \"ServerRoot must be a valid directory\"

Command line output:

14条回答
  •  一向
    一向 (楼主)
    2020-12-13 07:15

    Make sure your ServerRoot in httpd.conf points correctly to the Apache path. Otherwise you will see this message for every further module.

    Examples:

    • /etc/apache2/apache2 for Linux
    • "C:\Program Files\Apache24" for Windows

提交回复
热议问题