How PHP mixes with ASP.NET ? Let's say I have an asp.net app under root domain. Then I create a folder where I will put PHP.
Can PHP live under ASP.NET without problem ? Is it necessary that I transform PHP dir into an app under IIS7 ?
PHP is installed. My question is about adding a PHP app under an ASP.NET app not under IIS in general.
ASP.NET and PHP will happily co-reside in the same website. From your comments you are asking if it is ok to put your PHP application in a folder of its own and turn this into an application. Yes that is perfectly fine to do.
Just make sure that you've configured PHP properly which means running a non-threadsafe build of PHP using FastCGI:
Using FastCGI to Host PHP Applications on IIS 7
That is the recommended way to run PHP on IIS6 and IIS7 now.
PHP will run quite merrily on IIS.
http://www.php.net/manual/en/install.windows.iis.php
From my experience, I'd advise creating a different AppPools for PHP / .NET.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With