sebastian               Fri Dec  6 01:44:28 2002 EDT

  Modified files:              
    /php4/sapi/servlet  README 
  Log:
  A bit of an update for the sapi/servlet installation guide.
  
  
Index: php4/sapi/servlet/README
diff -u php4/sapi/servlet/README:1.13 php4/sapi/servlet/README:1.14
--- php4/sapi/servlet/README:1.13       Sun Oct  6 02:27:11 2002
+++ php4/sapi/servlet/README    Fri Dec  6 01:44:28 2002
@@ -36,7 +36,7 @@
     compilation tasks.
 
 
-  Installing PHP as a Servlet into Apache's Jakarta Tomcat
+  Installing PHP as a Servlet into Apache's Jakarta Tomcat [*]
 
     1.) Build the PHP 4 Java Servlet SAPI Module
 
@@ -47,57 +47,43 @@
 
           o ./configure --with-servlet --with-java
 
-          o Add directory containing libphp4.so to LD_LIBRARY_PATH
+          o Add directory containing libphp4.so to LD_LIBRARY_PATH.
 
         Windows
 
           o Build ext/java/java.dsp, copy php_java.dll to your
             extension_dir directory and enable the extension in the
-            php.ini
+            php.ini.
 
-          o Build sapi/servlet/servlet.dsp
+          o Build sapi/servlet/servlet.dsp.
 
-          o Add directory containing php4ts.dll and phpsrvlt.dll to
-            PATH
+          o Add the directory containing php4ts.dll and phpsrvlt.dll to
+            the PATH environment variable.
 
-    2.) Tomcat 3
+    2.) Copy phpsrvlt.jar into your $TOMCAT_HOME/shared/lib directory.
 
-          * Add phpsrvlt.jar to CLASSPATH
+    3.) Merge the configuration directives from web.xml file that
+        comes with the Java Servlet SAPI Module into your
+        $TOMCAT_HOME/conf/web.xml configuration file.
 
-        Tomcat 4
+        Make sure that the element ordering of the web.xml is legal
+        with Tomcat and put all the <servlet> declarations first,
+        followed by all the <servlet-mapping> declarations.
 
-          * Copy phpsrvlt.jar into your $CATALINA_HOME/lib directory
+        Add
 
-    3.) Tomcat 3
+          <welcome-file>index.php</welcome-file>
 
-          * Merge or overwrite build/tomcat/examples/WEB-INF/web.xml
-            with the configuration directives from the web.xml file
-            that comes with the Java Servlet SAPI Module.
+        to the
 
-        Tomcat 4
-    
-          * Merge the configuration directives from web.xml file that
-            comes with the Java Servlet SAPI Module into your
-            Tomcat/conf/web.xml configuration file.
+          <welcome-file-list>
+            ...
+          </welcome-file-list>
 
-            Make sure that the element ordering of the web.xml is legal
-            with Tomcat and put all the <servlet> declarations first,
-            followed by all the <servlet-mapping> declarations.
-
-          * Add
-
-              <welcome-file>index.php</welcome-file>
-
-            to the
-
-              <welcome-file-list>
-                ...
-              </welcome-file-list>
-
-            block of your Tomcat/conf/web.xml configuration file.
+        block of your $TOMCAT_HOME/conf/web.xml configuration file.
 
     4.) Test your installation by creating a test.php file in your
-        Tomcat/webapps/ROOT directory with
+        $TOMCAT_HOME/webapps/ROOT directory with
 
           <?php phpinfo(); ?>
 
@@ -120,6 +106,8 @@
         and build Cocoon.
 
 -- 
+ [*] The instructions herein have been tested with Tomcat 4.1.12.
+
  [1] http://jakarta.apache.org/tomcat/
  [2] http://xml.apache.org/cocoon2/
  [3] http://www.php.net/support.php



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to