Link to home
Start Free TrialLog in
Avatar of rkurtz
rkurtz

asked on

Run PHP pages on IIS with ASP.Net pages

Hi, we are developing a site in ASP.Net with a SQL Server backend for a customer.  They have also found a product that is built with PHP with a mySql backend that they would like to incorporate into the site we are building with ASP.Net.  Is it possible to run ASP.Net pages and PHP pages together on the same IIS server for the same website?

Thanks.
Avatar of humeniuk
humeniuk
Flag of Canada image

I wouldn't try it myself.  I would suggest that you try to look for a comparable ASP product first.  I wouldn't try it myself, but if you can't find an alternative, you can install PHP and run both on the same IIS server, but don't try to run both php and asp scripts on the same page.  In fact, you would really want to try to keep things as separate as possible or you could end up with a mess.
Avatar of rkurtz
rkurtz

ASKER

I read that you can install both PHP and ASP.Net on the same server, but it sounded like they had to be on different ports.  That leads to the question can a single website use both of them?  It would never be on the same page, but maybe a link on an ASP.net page would link to the PHP page and the other way around.
ASKER CERTIFIED SOLUTION
Avatar of humeniuk
humeniuk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of top_rung
I have both running on the same  server (windows server 2003 web edition) and I did nothing but install them (I'm not that advanced ;).  I did however have to manually map all extensions for the ASP.NET to work properly.  

HOWEVER, currently the two are not set up to work directly with each other.  The PHP is used to run our Bulletin board, and the ASP.NET application is used independently (from within a Virtual Directory)