tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <>
Subject use php in servlet engine.
Date Tue, 06 Sep 2005 08:00:44 GMT

We are facing a question here. How to integrate an old
existing php site inside a tomcat container. 
I think about 2 possible solutions:

1) run apache+php on a specific port and have tomcat
do some proxying on a url. (like http://server/php/* -> apache-php)
2) create a webapplication supporting php using instruction provided on wiki:

The second one is more interesting (no need to run an additionnal apache process)
However, am a bit worried about this comment on php documentation:

    "PHP has a habit of changing the working directory. sapi/servlet will eventually 
     change it back, but while PHP is running the servlet engine may not be able to 
     load any classes from the CLASSPATH which are specified using a relative directory 
     syntax, or find the work directory used for administration and JSP compilation tasks."

Has anyone here already tried this and experiences issue with this servlet?

Thanks for sharing your experience.

David Delbecq
Royal Meteorological Institute of Belgium

Is there life after /sbin/halt -p?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message