'Apache will not start error - error in cmd please

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...

This is what I get the CMD prompt... Can someone help?



Solution 1:[1]

Syntax error on line 35 of C:/Program Files (x86)/xampp/apache/conf/httpd.conf: server root must be a valid directory

I suggest that you:

  • Open the file C:\Program Files (x86)\xampp\apache\conf\httpd.conf;
  • Inspect line 35; and
  • Change the value of ServerRoot to a valid directory.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 eggyal