Wamp server is not working

May 05, 2012
1K
12K


Category:

Consider the following observation

WAMP, a web development server , can basically execute PHP within a Windows environment.

  • So now you have got it installed, but the tray icon forever shows YELLOW, and when you visit any PHP page in your browser, it just shows the PHP source!
  • Also, when you visit "http://localhost/" in IE it gives you a 404 Not Found, Firefox just shows a blank page.
  • By the way you've tried

    "Restart All Services"

    and restarting your machine, but it still won't work.

The solution

There are several reasons behind this such as :

  • Windows firewall may block the server.
  • Problems in Skype's incoming and outgoing port
  • Teamviewer can cause this too.

Windows firewall

Turn off the windows firewall , if needed

Change Skype port

Skype reserves port 80 for its incoming connection which conflicts with WAMP, so simply configure Skype to use another port by doing the following:

Change skype port Before sign in

Open skype and follow the below steps as indicated in below pictures.

  • Go to Tools->Connection options (figure:1)
  • Use port 81 rather than 80 (figure:2)
  • Uncheck the checkbox "Use port 80 and 443 as alternatives..." (figure:2)
  • Click the save button (figure:2)

Choose connections

Change connection settings & save

Change skype port After sign in

If you already logged in to skype then

  • Go to Tools->Options->Advanced->Connection (figure:3)
  • Use port 81 rather than 80 (figure:4)
  • Uncheck the checkbox "Use port 80 and 443 as alternatives..." (figure:4)
  • Click the save button (figure:4)

Choose connections

Change connection settings & save

Restart Skype

For this change to take effect restart Skype and Restart all services on WAMP by doing the following:
Left-click WAMP tray icon > Restart All Services

Testing Port 80

To test Port 80 is used for Apache go to WAMP tray icon, left-click context menu > Apache > Service > Test Port 80, it said –

Check WAMP Status

Finally check your WAMP server status

CATEGORIES