Choose 1. But with some modifications apache + php + mod_jk -> tomcat
Viorel Dragomir . .. ------------------------------------------------------------------- ----- Original Message ----- From: David Delbecq To: Tomcat Users List Sent: Tuesday, September 06, 2005 10:00 Subject: use php in servlet engine. Hello, 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: http://wiki.apache.org/jakarta-tomcat/UsingPhp 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: http://be.php.net/manual/en/print/ref.java.php "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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]