PDA

View Full Version : IIS with Apache


LondonBoy
09-01-2006, 07:22 PM
Hi All,

If I will be having both PHP and ASP Projects, what would be the ideal setup for this?

I personally don't really like having Apache/Mysql and IIS/SQL Server on the same server running but if that's what i gotta do, then I gotta do it.

But what is a good and organized setup for this?

If anyone can provide some insight into this I would very much apreciate it.


Thanks
BK

Bengal313
09-01-2006, 07:44 PM
I am in the same situation. I would like to know the best way to tackle this as well.

Brandoe85
09-01-2006, 07:47 PM
You can install php/mysql to run on IIS. Google for php/mysql IIS of some sort. You're bound to find plenty of instructions.

Let us know how it goes.

LondonBoy
09-01-2006, 07:59 PM
True but not the best route to have PHP supported on IIS when it's Apache in the production environment.

I've worked with PHP/IIS in development, then when u migrate code to Apache in the production environment code isn't gold anymore :(

There must be a way for apache/php/mySql to coexist in peace with IIS/ASP/MSSQL.

Thanks alot, hope someone can help!

mehere
09-01-2006, 09:34 PM
i run both IIS and Apache on my pc ... i just have them set up on different port numbers. I have never run into a problem ... Knock wood ... yet.

Bengal313
09-01-2006, 10:22 PM
Can you explain how you did that. How do you set them to different port?

Wylie
09-02-2006, 03:00 AM
It is because IIS & Apache both using port 80, therefore it able to work with different port. However, this does not mean they are working together at the same time. For example, if Apache is using port 8080, I believe you people found address different between IIS & Apache already.


Can you explain how you did that. How do you set them to different port?

start > Control Panel > Administrative Tools > Services

then you should found services of Apache...

Bengal313
09-02-2006, 09:12 PM
Is there a specific port I should use?

Wylie
09-04-2006, 06:48 AM
You can use any port that is free. 8080 is popular for this, therefore you can set IIS or Apache to port:8080. However, you better to check which port your db is using (like db is MySQL or Oracle) because it may using 8080 too.

LondonBoy
09-06-2006, 03:14 PM
how to check if a DB is using port 8080?
can I use 9090 instead?

graficus
09-06-2006, 07:29 PM
You could set up a virtual machine using Virtual PC or VMWare and have native Linux running with Apache, if you want the real thing, it will also have a different IP address. That's quite a bit of trouble tho, and slows down the computer running 2 OS-s at once.
Might just change the port number like suggested above. I never got to run Apache in Windows the right way...