cvs: /php3 INSTALL.REDHAT
| From: | Rasmus Lerdorf | Date: | Sat, 04 Dec 1999 21:47:45 +0000 |
| Subject: | cvs: /php3 INSTALL.REDHAT | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13445@lists.php.net to get a copy of this message | ||
rasmus Sat Dec 4 16:47:45 1999 EDT
Modified files:
/php3 INSTALL.REDHAT
Log:
Add a RedHat-6.1 note here
Index: php3/INSTALL.REDHAT
diff -u php3/INSTALL.REDHAT:1.18 php3/INSTALL.REDHAT:1.19
--- php3/INSTALL.REDHAT:1.18 Mon Nov 1 13:50:56 1999
+++ php3/INSTALL.REDHAT Sat Dec 4 16:47:44 1999
@@ -7,6 +7,28 @@
instructions in the INSTALL file. But if you like having most things
under rpm control, read on.
+*Warning* these instructions will not work with the stock Apache rpm
+that comes with RedHat-6.1 due to a bug introduced by RedHat. If you
+are using RH-6.1, make the following change before continuing:
+
+On or around line 81 of your /usr/sbin/apxs file, you will see a
+line like this:
+
+my $CFG_LIBEXECDIR = 'modules'; # substituted via APACI install
+
+Change this to be:
+
+my $CFG_LIBEXECDIR = '/usr/lib/apache'; # substituted via APACI install
+
+While you are looking at this file, make sure the $CFG_LD_SHLIB and
+$CFG_LDFLAGS_SHLIB are set to something close to this:
+
+my $CFG_LD_SHLIB = 'gcc'; # substituted via Makefile.tmpl
+my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl
+
+If your /usr/sbin/apxs script has these lines along with the change to
+the $CFG_LIBEXECDIR line, you are ready to proceed.
+
The first thing you need to do is upgrade your Apache to at least
version 1.3.6. You need the apache-1.3.6 rpm along with the apache-devel
RPM. RedHat-6.0 comes with apache-1.3.6, but by default it does not seem