Question

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?

Was it helpful?

Solution

enter image description here

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}

OTHER TIPS

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

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

Other ways to fix this problem:

  1. Install Apache Service (Apache > Install Service) or
  2. Remove and re-install Apache Service (Apache > Remove Service)

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top