Couple of months back, I was working on a ASP.NET 1.1 application which requires IIS. The application basically fetches records from webservice and validating those records with our database.
Meanwhile I was working on an php application and it requires Apache. I was using WAMP5 ver 1.6.6 with apache 2.0.59.
Initially I have to stop IIS in order to use Apache and vice versa. As both of servers uses port 80 for all http request.
At that point, I was aware of that there must be some parameters in php configurations files which would allow me to change the http port from 80 to something else, so I just started browsing configuration files and was able to change the port from 80 to say 8080 and now both of my webservers were happy:
Now I can access my sites like;
so for php my localhost is now localhost:8080 and rest is the same. 🙂
What I did:1. Opened the httpd.conf file 2. Searched for term 80 3. Found on first hit under parameter listen 4. Changed 80 to 8080 there 5. Restarted all wamp services. And thats it.
So rather then searching for 80, you must search for listen parameter and change it
No other changes and settings required. 🙂