混合下同一域PHP和ASP.NET [英] Mixing PHP and ASP.NET under same domain
问题描述
如何PHP融合了ASP.NET?比方说,我在根域一个asp.net应用程序。然后,我创建了一个文件夹,我会把PHP。
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.
可以在ASP.NET下现场PHP没有问题?是否有必要,我变换PHP目录成为一个应用程序IIS7下?
Can PHP live under ASP.NET without problem ? Is it necessary that I transform PHP dir into an app under IIS7 ?
PHP安装。我的问题是关于一般一个ASP.NET应用程序下加入了PHP应用程序不IIS下。
PHP is installed. My question is about adding a PHP app under an ASP.NET app not under IIS in general.
推荐答案
ASP.NET,PHP将愉快地共同居住在同一网站。从您的意见你问,如果它是确定把你的PHP应用程序它自己的文件夹中,并把它变成一个应用程序。是的,这是完全没有的事。
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.
只要确保你已经正确配置PHP这意味着使用FastCGI运行PHP的非线程编译:
Just make sure that you've configured PHP properly which means running a non-threadsafe build of PHP using FastCGI:
这是在IIS6和IIS7运行PHP现在推荐的方式。
That is the recommended way to run PHP on IIS6 and IIS7 now.
这篇关于混合下同一域PHP和ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!