Tuesday, February 10, 2015

[SOLVED] /httpd.conf: ServerRoot must be a valid directory

ERROR

httpd.conf: ServerRoot must be a valid directory

REASON

Actual apache server installation path not set properly.

SOLUTION

  1. Open the file httpd.conf from the apache zip extracted path, say: c:\ranjith\softies\httpd-2.4.12-x86\Apache24
  2. Change the Define SRVROOT "/Apache24"
into
Define SRVROOT "c:/ranjith/softies/httpd-2.4.12-x86/Apache24"

No comments :

Post a Comment