Versions Compared

Key

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

...

  • 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

Configure and make PHP Installation:

  • ./configure --with-servlet=$TOMCAT_HOME --with-java=$JAVA_HOME
  • make
  • A jarfile and dynamic library are produced: sapi/servlet/phpsrvlt.jar and libs/libphp4.so.

...