If you are PHP developer and have upgraded your System from a previous versions of Windows, you may find that your favorite PHP environment is not working as WAMP server not giving green signal.
During installation of WAMP just before the completion of installation, it is notified that if such a situation occurs where WAMP Server is not turning Red to Green, restarting the server again will resolve the issue. But in my case, it was a total failure. I tried restarting the server many a times but every time failure kissed my hand.
Searching on Google, I came to know I should check the hosts file at C:\Windows\System32\Drivers\etc\hosts as it comes empty in Windows 10 and I should have at least the following entry without '#` comments in column 1 in hosts file:
I do the same, restart the WAMP again but failure is the only outcome. Searching further on Google, I get the clue to tackle the issue. The intimacy of port 80 and a native service named World Wide Web Publishing Service is the feasible reason behind the issue. Stopping the service did the trick.
Here’s how to locate and stop the service:
Here one thing to remember that, by default the Startup Type is Automatic. Before stopping the service if don’t change the Startup Type, the service will automatically run whenever your system is restarted. So, I think it’s a better option to set it to Manual; that means the service will run when you yourself manually start the service.