Forum Moderators: coopster

Message Too Old, No Replies

Can I install Apache/PHP/MYSQL side by side with IIS?

         

MrSpeed

3:44 pm on Jan 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's the deal. I currently have IIS/SQLServer on my machine since I am an ASP developer. However I also have a few sites I maintain that are Nix/PHP/MySQL.

I would like to install PHP and MySQL on my windows machine.

It would be ok if the PHP pages worked in the IIS environment such as [localhost...]

However I thinka better solution may be to install
apache/php/mysql/phpmyadmin side by side with IIS.

Would I be able to run it side by side with my IIS
To get to IIS : [localhost...]
To get to Apache: [localapache...]

I suppose I would like to use .htaccess locally to test mod_rewrites

Any help and recommended downloads are appreciated.

jusdrum

4:10 pm on Jan 26, 2005 (gmt 0)

10+ Year Member



Only one application can run on port 80, so you can't run Apache and IIS both at the same time on port 80. You can tell either one to run on a different port, however (like 8080, for example). See IIS or Apache docs to find out how to tell it to run on a different port.

topr8

4:16 pm on Jan 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



yes it is easy enough to do,

there are some great threads on installing it all here on WebmasterWorld, i've used one of those all in installation progs webserv (but there are many available) which installs apache and perl and php and mysql.

you will need to set apache to listen to port 8080 as said above by jusdrum

so you will find the sites thus:

To get to IIS : [localhost...]
To get to Apache: [localhost:8080...]

iis and apache can have different home directories

MrSpeed

5:43 pm on Jan 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the tips. I am looking into
webserv
phpdev
easyphp

It's not a big deal for me to run under a port number. I was thinking I had to modify my hosts file.