I want to run PHP script on Jakrta-Tomcat.Is this possible?What changes I will have to make in web.xml if it is possible.
PHP on Tomcat
You likely need to run Tomcat under Apache to get it to live with PHP alongside it on the same server. That said, I've never had the time or patience to make apache and tomcat get along, so I just run tomcat on port 8080 or something like that.
I'm also trying to run PHP scripts on Tomcat. How do I configure Tomcat to do that?
Thanks in advance!
If I'm not mistaken you should compile PHP as a servlet...
I'm trying to do that right now so I can use PHP inside Cocoon2..
In php compilation, use ./configure --with-java --with servlet.
For this to work, your JAVA_HOME and CLASSPATH should be set..
Check PHP's source code under sapi/servlet/readme for more info
I'm also trying to get this to work. Adding mime-type mappings in the web.xml file did not work. If anyone gets php to work inside tomcat (using apache and mod webapp), please let me know (cohen@ylearn.com), as I'd be a very very happy camper.
Thanks!
Where I can get the files for using some php with Tomcat.
anyone have a url? ans infos to install it?
please send it to me to (d3adman@hotmail.com)
Thank you so much