Saturday, January 29, 2011

WAMP and IIS

If both WAMP and IIS7 are installed, IIS7 will be displayed.

To solve this problem, do this:

To change WAMP,
click on WAMP Server icon on taskbar and go to Apache > httpd.conf

Change ‘Listen 80’ to ‘Listen 8080’ (As shown in the screenshot). Save and restart WAMP.


Reference:
http://www.programmerfish.com/how-to-run-wamp-server-parallel-with-iis-7-on-windows/

Now WAMP Server is accessible on http://localhost:8080/



Added Note:

With above change only, I have to manually enter 8080 to "http://localhost/"
I am going to edit the same file, "httpd.conf" file.


Original:
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80


Changed:

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:8080


This did NOT do anything.
Put back the original setting.

Change it back to:Listen 80
(it was changed to "Listen 8080")
Then, DO this, instead!

Theory, you can have both, but IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work

Disable IIS in Vista:

Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services


In the I"Uninstall or Change Program" window, click "repair" icon, then uncheck "Internet Information Services".

No comments:

Post a Comment