Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes how to use PHP (v4) with Tomcat (v4 or later). The contents were originally written and sent to the tomcat-dev list by Jean-Frederic Clere (on his vacation, no less (wink) ) and Henri Gomez.

...

0. Prerequisites:

  • Download PHP (this tutorial was done with PHP 4.3.5)
  • Download Tomcat (this tutorial was done with Tomcat 5.0.19)
  • Define $JAVA_HOME for your JDK installation
  • Define $TOMCAT_HOME for your tomcat installation
  • Define $PHP_HOME for your PHP installation
  1. Configure PHP Installation:
    ./configure --with-servlet=$TOMCAT_HOME --with-java=$JAVA_HOME

...