0
votes

I installed wamp server but I cannot start the Apache service because of the following error, 'Could not open configuration file bin/conf/httpd.conf: The system cannot find the path specified'.

I figured this out by looking into Event Viewer. The actual path for the http.conf file is wamp/bin/apache/apache2.4.9/conf/http.conf.

I tried copying the folder conf and putting in the bin folder but the same error showed up when I started the Apache service using the Wamp server icon in the system tray. Please help me!!

The actual error message in the Event Viewer was: "The Apache service named reported the following error:

httpd.exe: Could not open configuration file bin/conf/httpd.conf: The system cannot find the path specified."

2
What was the actual Event Viewer error message. Add it to your question, not as a commentRiggsFolly
Also remove the copied conf folder from the apache2.4.9/bin folder. That way - only confusion liesRiggsFolly
deleted the file still same result.Arpan Sen
That was not a solution, just a clean up suggestion as that folder should not be there! Did you change anything after installing WAMPServer.RiggsFolly
no I did not change anything ,only copied. conf file from the wamp/bin/apache/apache2.4.9 folder to the wamp/bin folder( and tried starting Apache services, only to find the same error) and after your suggetion deleted that copied file.Arpan Sen

2 Answers

1
votes

The solution is very simple: install apache on C:\ (open the downloaded zip file and copy the apache folder to C:). Don't install it on the Program Files folder!!. You can install it in your user folder too...

0
votes

I think you will find that you have had an Apache installed on your system before and its finding an old httpd.conf file.

All WAMPServers files are under the \wamp\ folder, so do a search for httpd.conf and delete any that are outside the \wamp\ folder structure.