rse 98/03/30 23:03:25
Modified: . README.configure Log: Update the PHP-related example now that Apache can be built with PHP both statically _and_ dynamically (shared object). Revision Changes Path 1.4 +21 -3 apache-1.3/README.configure Index: README.configure =================================================================== RCS file: /export/home/cvs/apache-1.3/README.configure,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- README.configure 1998/03/29 17:18:56 1.3 +++ README.configure 1998/03/31 07:03:23 1.4 @@ -234,15 +234,33 @@ The PHP language (http://www.php.net) is an HTML-embedded scripting language which can be directly integrated into the Apache HTTP server for powerful HTML scripting. The package can be found at http://www.php.net/download-php.php3. - Here is how you can install Apache with PHP: - $ cd php-3.0 + 1. How you can install Apache with a statically linked PHP: + + $ cd apache-1.3 + $ ./configure --prefix=/path/to/apache + $ cd ../php-3.0 $ ./configure --with-apache=../apache-1.3 $ make $ make install $ cd ../apache-1.3 $ ./configure --prefix=/path/to/apache \ - --activate-module=src/modules/php3/mod_php3.c + --activate-module=src/modules/php3/libphp3.a $ make $ make install + 2. How you can install Apache with a dynamically linked PHP: + + $ cd apache-1.3 + $ ./configure --prefix=/path/to/apache + $ cd ../php-3.0 + $ ./configure --with-shared-apache=../apache-1.3 + $ make + $ make install + $ cd ../apache-1.3 + $ ./configure --prefix=/path/to/apache \ + --activate-module=src/modules/php3/libphp3.a \ + --enable-shared=php3 + $ make + $ make install +