开发者

Mixing PHP and ASP.NET under same domain

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 pr开发者_JAVA技巧oblem ? 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.


It can be possible. you can run php script in IIS

Here is the link

http://learn.iis.net/page.aspx/24/running-php-applications-on-iis/

All the best. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜