lakum7538 Posted March 9, 2009 Share Posted March 9, 2009 I have to run two applications on LAN. One is developed in ASP.NET and the another is developed in php. So how to run Apache and IIS at the same time on same machine. Please help me. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/148562-iis-and-apache-at-a-time-on-single-machine/ Share on other sites More sharing options...
JonnoTheDev Posted March 9, 2009 Share Posted March 9, 2009 Difficult as they both want to listen on port 80. Why not just run IIS to serve PHP and ASP. Quote Link to comment https://forums.phpfreaks.com/topic/148562-iis-and-apache-at-a-time-on-single-machine/#findComment-780180 Share on other sites More sharing options...
wildteen88 Posted March 9, 2009 Share Posted March 9, 2009 Difficult as they both want to listen on port 80. Why not just run IIS to serve PHP and ASP. Not strictly true the only way to have IIS and Apache run on then same computer at then same time is set then up to use different ports. Such as IIS to use port 80 and Apache to use 81 (just edit the [/b]Listen[/b] line within Apaches httpd.conf - make sure you restart Apache after making changes to the httpd.conf). problem is now http://localhost/ will always call IIS however for Apache you'll need to use http://localhost:81/ Quote Link to comment https://forums.phpfreaks.com/topic/148562-iis-and-apache-at-a-time-on-single-machine/#findComment-780557 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.