CVS update: php3
| From: | rasmus | Date: | Sun, 16 May 1999 12:22:36 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5673@lists.php.net to get a copy of this message | ||
Date: Sunday May 16, 1999 @ 8:22
Author: rasmus
Update of /repository/php3
In directory php:/tmp/cvs-serv22297
Modified Files:
INSTALL.REDHAT
Log Message:
Some RH6 clarifications and a CGI compile fix
Index: php3/INSTALL.REDHAT
diff -u php3/INSTALL.REDHAT:1.13 php3/INSTALL.REDHAT:1.14
--- php3/INSTALL.REDHAT:1.13 Thu Apr 1 01:33:27 1999
+++ php3/INSTALL.REDHAT Sun May 16 08:22:36 1999
@@ -1,5 +1,5 @@
-Some notes for RedHat 5.x users
-===============================
+Some notes for RedHat 5.x/6.x users
+===================================
These instructions assume you want to use pre-built RPM's as much as
possible. There is nothing stopping you from grabbing the Apache and
@@ -9,31 +9,31 @@
The first thing you need to do is upgrade your Apache to at least
version 1.3.4. You need the apache-1.3.4 rpm along with the apache-devel
-RPM. At the time of this writing the only apache-1.3.4 rpm available
-from RedHat is the Rawhide version which requires glibc-2.1. You may not
-wish to move your entire system to the new glibc at this point. You can
-of course build from the Rawhide SRPM, or alternatively go grab the
-latest Apache rpm's from:
+RPM. RedHat-6.0 comes with apache-1.3.6, but by default it does not seem
+to install the apache-devel rpm. Grab that one and install it as well.
- http://www.lerdorf.on.ca/apache/
+RedHat also has an annoying habit of not installing other -devel packages.
+The one that gets the most people is freetype-devel. Save yourself some
+trouble and grab the freetype-devel rpm and install it before configuring
+PHP. You can check if you have it installed by typing:
-These work nicely with the standard RH-5.1 and RH-5.2 systems. They are
-also usually more up to date than the RedHat ones.
+ rpm -q freetype-devel
You will also need the PHP tarball. The PHP rpm available from RedHat is
ok if you don't need database support or any of the other PHP add-ons. If
you do need to add your own set of features, download the latest PHP tarball
and follow the steps below:
-Step 1: Remove old Apache packages, if installed.
+Step 1: Remove old Apache packages, if older version is installed.
rpm -e apache
rpm -e apache-devel
-Step 2: Install new Apache packages
+Step 2: Install new Apache packages if necessary and any missing -devel packages
- rpm -i apache-1.3.6-1.i386.rpm
- rpm -i apache-devel-1.3.6-1.i386.rpm
+ rpm -i apache-1.3.6-7.i386.rpm
+ rpm -i apache-devel-1.3.6-7.i386.rpm
+ rpm -i freetype-devel-1.2.6.i386.rpm
Step 3: Determine which PHP extensions you want to use
@@ -58,7 +58,7 @@
The 'make install' step should produce something very similar to:
- /usr/bin/apxs -i -a -n php3 libphp3.so
+ /usr/sbin/apxs -i -a -n php3 libphp3.so
cp libphp3.so /usr/lib/apache/libphp3.so
chmod 755 /usr/lib/apache/libphp3.so
[activating module `php3' in /etc/httpd/conf/httpd.conf]
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net