rasmus 99/12/20 06:27:12
Modified: . README.configure
Log:
--with-shared-apache has been deprecated
Revision Changes Path
1.20 +6 -23 apache-1.3/README.configure
Index: README.configure
===================================================================
RCS file: /home/cvs/apache-1.3/README.configure,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- README.configure 1999/12/17 22:25:17 1.19
+++ README.configure 1999/12/20 14:27:10 1.20
@@ -263,29 +263,8 @@
$ make
$ make install
- 2. How you can install Apache with a dynamically linked PHP:
+ 2. You can also use APXS:
- $ gunzip <apache_1.3.X.tar.gz | tar xvf -
- $ gunzip <php-3.0.tar.gz | tar xvf -
- $ cd apache_1.3.X
- $ ./configure --prefix=/path/to/apache
- $ cd ../php-3.0
- $ ./configure --with-shared-apache=../apache_1.3.X
- $ make
- $ make install
-
- [optionally you now have the chance to prepare or add more
- third-party modules to the Apache source tree]
-
- $ cd ../apache_1.3.X
- $ ./configure --prefix=/path/to/apache \
- --activate-module=src/modules/php3/libphp3.a \
- --enable-shared=php3
- $ make
- $ make install
-
- 3. You can also use APXS:
-
$ cd apache-1.3.X
$ ./configure --prefix=/path/to/apache --enable-shared=max
$ make
@@ -298,8 +277,12 @@
$ make install
At this point don't forget to edit your conf/httpd.conf file and
- make sure the file contains the line:
+ make sure the file contains the line for PHP 3:
AddType application/x-httpd-php3 .php3
+
+ Or this line for PHP 4:
+
+ AddType application/x-httpd-php .php
Then restart your server.