Solved

Run PHP pages on IIS with ASP.Net pages

Posted on 2004-09-13
4
1,017 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:rkurtz
  • 2
4 Comments
 
LVL 33

Expert Comment

by:humeniuk
ID: 12047960
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.
0
 

Author Comment

by:rkurtz
ID: 12048007
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.
0
 
LVL 33

Accepted Solution

by:
humeniuk earned 250 total points
ID: 12048043
I don't think it's related to ports as the server/website config determines that, but maybe you read something I'm unaware of.  Do you remember where you saw that?  Linking from one page to another wouldn't be a problem, though there are some things you'd have to look out for.  For example, theoretically cookies would work, but I don't know about sessions.  Proceed carefully.
0
 
LVL 14

Expert Comment

by:top_rung
ID: 12065183
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)

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question