Edward M. Smith is right. You may be able to mix PHP and CFML with Resin as your JVM. Although I did not do this, I believe it is possible that Resin interprets your PHP code in the same context as the CFML (ColdFusion) website.
A.cfm / .cfc cannot contain PHP, and the .php file cannot contain CFML / CFScript; however, these files may live side by side on your www.something.com domain.
Resin http://www.caucho.com/ is a web server / PHP interpreter that is very quickly written and written in Java. This is a joint JVM for Railo's open source CFML project.
Hope this helps.
source share