混合下同一域PHP和ASP.NET [英] Mixing PHP and ASP.NET under same domain

查看:98
本文介绍了混合下同一域PHP和ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何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:

使用FastCGI的主办IIS 7 PHP应用程序

这是在IIS6和IIS7运行PHP现在推荐的方式。

That is the recommended way to run PHP on IIS6 and IIS7 now.

这篇关于混合下同一域PHP和ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆