| Author |  | 
| sunilpandya 
 
 
 Joined: 08 Sep 2016
 Posts: 12
 Location: India
 
 | 
|  Posted: Thu 15 Jun '17 7:10    Post subject: Apache Server root Directory |   |  
| 
 |  
| I have downloaded Apache 2.4.25, to install as windows 10 service i have used command c:/Apache/Apache24/bin httpd.exe-k install. 
 It shows 'Apache2.4 Service is Successfully Installed'
 Reported Error Must be corrected before Service Can be Started.
 httpd.exe Syntax error 'C:/Apache/Apache24 /conf/httd.conf
 Serveroor Must be A Valid Directory.
 I have changed as C:/Apache/Apache24 as Server root from C:/Apache24
 
 I then issued command Apache/Apache24/bin httpd.exe -k start, but it shows again the same error Server root must be Valid Directory.
 
 So what should be server root directory Actually?
 |  | 
| Back to top |  | 
| Steffen Moderator
 
 
 Joined: 15 Oct 2005
 Posts: 3130
 Location: Hilversum, NL, EU
 
 | 
|  Posted: Thu 15 Jun '17 10:43    Post subject: |   |  
| 
 |  
| Looks you installed C:/Apache/Apache24, default install is C:/Apache24 . 
 First delete the servive with c:/Apache/Apache24/bin httpd.exe-k uninstall and then c:/Apache24/bin httpd.exe-k install.
 |  | 
| Back to top |  | 
| sunilpandya 
 
 
 Joined: 08 Sep 2016
 Posts: 12
 Location: India
 
 | 
|  Posted: Thu 15 Jun '17 11:18    Post subject: Thanks for Reply |   |  
| 
 |  
| Thanks for Reply, I have done the same but again the error is same that is"Syntax error C:/Apache/Apache24/conf/httpd.conf Server root Must be a valid directory 
 Sunil Pandya
 |  | 
| Back to top |  | 
| Steffen Moderator
 
 
 Joined: 15 Oct 2005
 Posts: 3130
 Location: Hilversum, NL, EU
 
 | 
|  Posted: Thu 15 Jun '17 11:48    Post subject: |   |  
| 
 |  
| I see still you have somewhere C:/Apache/Apache24/ 
 So start clean and install again in c:/Apache24
 |  | 
| Back to top |  | 
| sunilpandya 
 
 
 Joined: 08 Sep 2016
 Posts: 12
 Location: India
 
 | 
|  Posted: Fri 16 Jun '17 5:15    Post subject: Apache Server root Directory |   |  
| 
 |  
| Thanks I have re-installed and issue is solved. 
 Thanks again
 
 Sunil Pandya
 |  | 
| Back to top |  |