From: Sebastian Bergmann Date: Sun, 28 Oct 2001 15:22:50 +0000 (+0000) Subject: More work on the README. X-Git-Tag: ChangeLog~504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=610bc7a194b154be577759487ca211fc6a5948ea;p=php More work on the README. --- diff --git a/sapi/servlet/README b/sapi/servlet/README index b1e22ad096..65e8d7782e 100644 --- a/sapi/servlet/README +++ b/sapi/servlet/README @@ -12,11 +12,21 @@ Java Servlet SAPI Module for PHP 4 servers which support servlets typically take great care in pooling and reusing Java Virtual Machines (JVMs). + PHP may also be bridged with the Apache Cocoon XML Publishing + Framework. [2] + + A suitably configured system will invoke the PHP binaries through + JNI and the output of the page will be processed through the + configured XML parser and placed into the pipeline for processing + by such filters as XSLT. This enables PHP developers to access the + powers of Cocoon to separate their content, style, and logic + without requiring them to write a single line of Java code. + While this code is intended to be able to run on any servlet engine, it has only been tested on Apache's Jakarta Tomcat to date. Bug reports, success stories and/or patches required to get this code to run on other engines would be appreciated; please - send them to the PHP Development Mailinglist [2]. + send them to the PHP Development Mailinglist [3]. Note: PHP has a habit of changing the working directory. The Java Servlet SAPI Module will eventually change it back, but while PHP @@ -99,8 +109,14 @@ Java Servlet SAPI Module for PHP 4 Installing PHP as a Generator into Apache's Cocoon2 Framework - 1.) + 1.) Build the Java Servlet SAPI Module as described above. + + 2.) Add the following line to your Cocoon configuration + + -- [1] http://jakarta.apache.org/tomcat/ - [2] http://www.php.net/support.php + [2] http://xml.apache.org/cocoon2/ + [3] http://www.php.net/support.php