Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WAMP Server not working

Okay so a continuation from this question, where you experts intro'd me to WAMP, which can basically execute PHP within a Windows XP environment.

So now I've got it installed, but the tray icon forever shows YELLOW, and when I visit any PHP page in my browser, it just shows me the PHP source!

Also, when I visit "http://localhost/" in IE7 it gives me a 404 Not Found, FF3 just shows a blank page.


BTW I've tried "Restart All Services" and restarting my machine, but it still won't work.

Any ideas? Any of you had this problem and solved it? Please help me here, I'm desperate to execute PHP client-side and I'm just reverting to testing on-server for now!

like image 591
Robin Rodricks Avatar asked Jan 04 '09 03:01

Robin Rodricks


People also ask

Why is WAMP server not working?

It says that whatever port is used by Apache (Wamp server) is currently used by some other service, so if you want to start the Apache service then you have to changethe port of this Wampserver service. Now for changing the port you have to go to Wampserver menu => Apache. Open httpd. conf file.

Why my WAMP server is orange?

To fix this issue, navigate to the WAMP server icon in the system tray > Apache > Service administration 'wampapache64' > Install Service. It will open the Command Prompt on your screen. After closing the Command Prompt, go to the same path and click on Start/Resume Service.

How do I know if WAMP is working?

Click on the wamp server icon in the taskbar and test "localhost". If that works, click the " phpinfo() " link on the page. If that works too, your wamp server is working and you should be able to execute php files.

Why is WAMP not turning green?

And the icon does not turn green. This issue indicated that your apache has not started, this is normally because something else is using port 80. This will load a command window and tell you what is using port 80.


1 Answers

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

In Skype go to Tools|Options|Advanced|Connection uncheck the option --> Use port 80 and 443 as alternatives for incoming connections, that's it

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"

Now Wamp and Skype can co-exist together, hope this solves your problem!!

like image 110
rzlines Avatar answered Oct 11 '22 14:10

rzlines