Is is possible to run Coldfusion & PHP on the same server and website?

前端 未结 5 1738
耶瑟儿~
耶瑟儿~ 2020-12-21 15:55

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

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-21 16:34

    Yes,

    It's technically no different to Windows servers which have both PHP and .Net installed, or a Linux server with Perl and PHP.

    Speaking generally, after installing the languages you're using you set up your web server to handle files of different extensions. This is done differently depending on whether you're using IIS or Apache, but you effectively say .php files should be handled by the PHP interpreter and .cfm files handled by the Coldfusion interpreter.

提交回复
热议问题