Reputation: 37
I've recently install WAMP 2.2 on my Windows PC. For whatever reason, my WAMP server isn't working. I try to open php files on my localhost but I get the famous 404 error message. The icon is orange and says that it is online, but that 404 error is showing me otherwise.Any ideas as to why it isn't working for me?
Upvotes: 3
Views: 20062
Reputation: 5043
Wampmanager reports errors to Windows Event Viewer. When I realized this I was able to find that it didn't like my httpd.conf e.g.
The Apache service named reported the following error:
httpd.exe: Syntax error on line 77 of C:/wamp/bin/apache/apache2.4.9/conf/httpd.conf
Cannot load modules/mod_access_compat.so into server:
The specified module could not be found.
My real crime however was to lazily reuse a httpd.conf from an older version of WAMP instead of reconfiguring the default version supplied.
Upvotes: 0
Reputation: 149
Other ways to fix this problem:
Upvotes: 0
Reputation: 21
Cant vote nor comment (first time here) but I had this same issue. Under Apache/Service I tried to restart the server but it wasn't even started, then I tried installing it but it said another program was using port 80.
Solution: Closed Skype, Apache/Service/Install Service and then restarted all services. Was able to put wamp server online and finally localhost was up and running.
Hope it helps
Upvotes: 2
Reputation: 6860
Just go to test port 80. If its being used by another process, you can defined your own port at httpd.conf Search and find the following string on file httpd.conf1
Listen 80
and change to
Listen {to desired port like 8888}
Upvotes: 4
Reputation: 644
I had a similar issue with WAMP once and my problem was that skype was running and using a port that WAMP wanted to use. Don't know if this is your problem, but if skype is running try shutting it down & rebooting WAMP
Upvotes: 0