Click to See Complete Forum and Search --> : PHP on Tomcat


Anon
08-29-2001, 11:25 PM
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.

smarlowe
08-30-2001, 02:09 PM
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.

Anon
01-22-2002, 08:55 PM
I'm also trying to run PHP scripts on Tomcat. How do I configure Tomcat to do that?

Thanks in advance!

Anon
01-28-2002, 09:37 AM
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

Anon
03-25-2002, 12:25 PM
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!

Anon
06-05-2002, 05:02 PM
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