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 i
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!!
I'd like to expand on what some of the other folks have contributed here - as Skype is not always the culprit.
You can also check exactly which process is hogging your port 80 by running this from a command prompt:
netstat -ao
This will list all processes using ports with their PID. You can correlate those to processes in Task Manager, and take appropriate action from there. The bottom line is - you're looking for what's hogging port 80 and/or 443 (if you're connecting over SSL), as that is the default browser port.
For me, when I have opened the httpd.conf file I have found that I have tow Listen statement as following:
Listen 80
Listen 169.254.96.77:80
and when I have commented the second line (adding '#' at beginning of the line) I restarted all wamp services (left click of wamp icon in the task bar), the wamp icon became green!
Hope this help other.
Most of the time this problem happens because of conflict between apachi servers, or ports, or duplicate of wamp installation
So to fix that:
First of all if you are using SKYPE try to change the port by opening Skype, then:
second if the problem still exists try to find if you are using - or was using - other Apache server (for example XAMPP server), if so try to remove it and after removing it, go to regedit by:
Got it! Under the WAMP tray icon, left-click context menu > Apache > Service > Test Port 80, it said :
"Your port 80 is actually used by - Info not available, Must be Skype"
Well, so off goes Skype, WAMP > Restart All Services, and Localhost shows "WAMP5 Homepage":
(source: wampserver.com)
And, phpMyAdmin works, PHP scripts execute too. Wow!
So now I can dubug in the proper fashion! Thank you StackOverflow!
Well, in case the above still dont help as it was with me, follow these steps:
Hope it works! A better approach is really needed.