可以运行Coldfusion& PHP在同一个服务器和网站? [英] Is is possible to run Coldfusion & PHP on the same server and website?

查看:167
本文介绍了可以运行Coldfusion& PHP在同一个服务器和网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用与coldfusion网站相同的数据库将一些新的网站页面移植到PHP。是否可以让PHP在其他目录中运行页面,然后来回?

I would like to be able to port some new site pages over to PHP using the same db as in the coldfusion site. Is it possible to have PHP run pages in say other directory and go back and forth ?

非常感谢您的回复。

Terry

推荐答案

正如其他人所说,是的,这是可能的。您的配置并不重要,(除非您寻求帮助设置),因为它可以可以在任何现代的网络服务器(Apache,IIS等)上完成。

As others have said, yes, it is possible. Your configuration doesn't really matter, (unless you're looking for help getting it setup), because it can be done on any modern webserver (Apache, IIS, etc).

但是,要考虑的是默认文档。如果您的网络应用程序使用以下网址:

Something to think about, though, is the default document. If your web application uses urls like:

http:// example.com/myApp/ (在网址中没有index.cfm或index.php)

http://example.com/myApp/ (no index.cfm or index.php in the url)

然后你需要注意默认的顺序文件。如果您在同一目录中同时有一个index.php和一个index.cfm模板,它将执行?

Then you need to be aware of the explicit order of default documents. If you have both an index.php and an index.cfm template in the same directory, which will execute?

如果您的默认文档列表是以下变体:

If your default document list is (a variation of):


index.cfm index.php default.aspx index.html

index.cfm index.php default.aspx index.html

然后ColdFusion页面将是要执行的页面。另一方面,如果默认文档列表是(的变体):

Then the ColdFusion page will be the one to execute. On the other hand, if the default document list is (a variation of):


index.php index.cfm default.aspx index。 html

index.php index.cfm default.aspx index.html

那么PHP页面就是要执行的页面。

Then the PHP page will be the one to execute.

这篇关于可以运行Coldfusion& PHP在同一个服务器和网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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