On 11 May 2005 at 19:01, Janet Fraser jlfraser-at-infotech.monash. wrote: > Maybe my question should have been > simpler, ie How do I install PHP to Tomcat?
Here is my installation of PHP on tomcat 5.0.28 (on WinXP) .. * install PHP (preferably PHP5) into c:\PHP\ * place php.ini in c:\windows\php.ini * download phpservlet.war from here .. http://tools.herberlin.de/phpservlet/phpservlet.war * drop phpservlet.war into tomcat5\webapps\ * in tomcat5\webapps\phpservlet\WEB-INF\web.xml set paths <param-name>php.executable</param-name> <param-value>c:/php/php-cgi.exe</param-value> and <param-name>SystemRoot</param-name> <param-value>c:/windows/</param-value> note: use php-cgi.exe and not php.exe. * Launch http://localhost:8080/phpservlet/phpinfo.php to check that PHP is working on tomcat.