locked
PHP in ASP.NET RRS feed

  • General discussion

  • Can we able to integrate php code in asp page?
    Wednesday, October 24, 2007 7:33 AM

All replies

  • To put it simply, no you can't. You can set up PHP to associate with IIS in Windows Servers but you definitely can't put it in a single page. I have a set up with both PHP + ASP.NET on my Windows Servers with IIS at the moment but the mess is unbeleivable. I get way too many problems especially with mySQL.

     

    But there is a work around for both of this. It's called the Phalanger Project which can integrate PHP + ASP.NET but the PHP files are processed by the PHP/CLR engine, so we get the best of both worlds. At the time of writing this, I was in the process of implementing this (Phalanger) set-up on my servers, I will let you know how it goes Smile

     

    Edit: For more information on Phalanger, see here: http://php-compiler.net/doku.php

    Wednesday, October 24, 2007 7:54 AM