I had a problem using WAMP on Win XP pro while IIS is installed and is needed.
I just solved it and I hope to put the solution here for others to use.
It is sometimes necessary to have both IIS and WAMP on the same machine. For instance I develop and maintain web applicationson ASP and PHP. However, IIS ususally ocupies port 80 by default and interfers with WAMP's Apache which will try using the same port.
I do the following to use WAMP and IIS on the same machine:
1) When I installed WAMP, I did not install Apache as a service.
2) You notice that IIS is usually automatically started when Windows start up. Then whenever I need to run Apache, I first shut down IIS Admin by going to :
Control Panel --> Administrative Tools --> Services
then I stop IIS Admin srvice. This will free PORT 80 for being then used by Apache
3) After stopping IIS Admin service, I go to WAMP taskbar icon on desktop and in Apache submenu I click 'Start/Resume Service'.
Apache starts and can use port 80. You can now start working with WAMP's Apache but not with IIS. Here when you go to URL [
localhost] , the WAMP local homepage should appear.
4) Whenever I am finished with WAMP's Apache and need to use IIS,
I first shut dwon Apache in:
WAMP's desktop icon --> Apache --> 'Stop Service'
Then I start 'IIS Admin' service in:
Control Panel --> Administrative Tools --> Services
Another important tip is that after restarting IIS Admin you must do another step and go to:
Control Panel --> Administrative Tools --> Internet Information Services
and start your website(s) or default website there too.
Now when you go to the URL: [
localhost] , this time IIS Homepage appears and you can use IIS websites in ASP, ... . However, you can not use Apache at the same time. (see above)
Good luck