Can IIS and Apache Run Together?
Posted by: newseed (---.pn.at.cox.net)
Date: February 06, 2009 04:37PM

I have WAMP5 and when I installed it a few years ago I had to uninstall IIS or else WAMP would not work.

I am now contemplating about upgrading to WampServer2 and wondered if it can reside along with IIS? (of course as seperate entities)

Thanks.

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 06, 2009 05:03PM

no it cant. both use port 80. and iis will have priority to the port. wamp will work if you switch it to another port but then ul need to use h ttp://localhost:port all the time

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: newseed (---.pn.at.cox.net)
Date: February 06, 2009 05:49PM

I've made the change to be port 8080 but it still didn't work. I did change both Listen and ServerName. I then exited WAMP and restarted and the status states this:

"1 of 2 services running"

Normally it will show that all services are running.

Am I missing something else?

Here's the newly text of the changed port via the httpd.conf file:

Listen 8080

ServerName localhost:8080

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 06, 2009 06:06PM

it may be mysql not running.. do you get the page when you goto [127.0.0.1]

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: newseed (---.pn.at.cox.net)
Date: February 06, 2009 06:10PM

No I do not.

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 06, 2009 06:12PM

post up the last 10lines of the apache log in c:/wamp/logs

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: newseed (---.pn.at.cox.net)
Date: February 06, 2009 06:24PM

[Fri Feb 06 10:31:19 2009] [notice] Child 5772: Starting thread to listen on port 80.
[Fri Feb 06 10:35:45 2009] [error] [client 127.0.0.1] File does not exist: F:/z-wamp/www/favicon.ico
[Fri Feb 06 10:36:59 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Feb 06 10:36:59 2009] [notice] Child 5772: Exit event signaled. Child process is ending.
[Fri Feb 06 10:37:00 2009] [notice] Child 5772: Released the start mutex
[Fri Feb 06 10:37:01 2009] [notice] Child 5772: Waiting for 250 worker threads to exit.
[Fri Feb 06 10:37:01 2009] [notice] Child 5772: All worker threads have exited.
[Fri Feb 06 10:37:01 2009] [notice] Child 5772: Child process is exiting
[Fri Feb 06 10:37:01 2009] [notice] Parent: Child process exited successfully.

I want to add that my wamp was installed on another drive other than C:/ but I never had any problems with it for the past 2 years.



Edited 1 time(s). Last edit at 02/06/2009 06:27PM by newseed.

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 06, 2009 06:45PM

[Fri Feb 06 10:31:19 2009] [notice] Child 5772: Starting thread to listen on port 80.


did u restart wamp after u changed to port 8080? and if so then try another port such as 8081

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: newseed (---.pn.at.cox.net)
Date: February 06, 2009 06:54PM

Looks like 8081 did the trick. Is there a way to set the browser to default to [locahost] when I open it via WAMP?

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 06, 2009 07:09PM

do you mean from the wamp menu?


yes you can edit the wampmanager.tpl file in the c:/wamp folder change any occurance of localhost to localhost:8081


if you mean in the windows hosts file - so that u could use [wamp] then no you cannont do this as microsoft did not delvelop the hosts file to support port numbers

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: newseed (---.pn.at.cox.net)
Date: February 06, 2009 08:03PM

I also had to edit the wampmanager.ini file and I now have it up and running!

Thank you very much for your time and knowledge.

Options: ReplyQuote
Re: Can IIS and Apache Run Together?
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 06, 2009 08:05PM

no you dont actually dont need to edit the ini file..
this file is created from the tpl file when wamp is started up



anyway glad you got it working now

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.