Horde-customized PHP RPMs php.README =--------------------------------------------------------------------------= $Author: bjn $ $Revision: 1.1.2.10 $ $Date: 2000/06/27 21:10:20 $ NOTE: This file describes the process of installing a Horde-customized version of PHP using RedHat RPM packages, in preparation for installing Horde/IMP. This document will not help you compile and install PHP manually; please consult the PHP documentation in that case. INSTALLING These Horde-customized PHP RPMs have been tested with RedHat 6.1 and 6.2. They require several other (prerequisite) RPMs; all RPMs mentioned in this document can be found at ftp://ftp.horde.org/pub/RPMS/, but the authoritative site is also listed for reference. 1) RedHat RPMs [** NOTE that more recent Rawhide RPMs (such as imap-4.7-9) are packaged in RPM v4 format and WILL NOT install properly on RedHat 6.x systems. RPM v4 is still "bleeding edge" so I recommend you stick with the versions listed below, until things settle down. I learned this the hard way. :-) 6/15/2000 BJN] ftp://ftp.redhat.com/redhat/redhat-6.2/i386/RedHat/RPMS/ ftp://updates.redhat.com/6.2/i386/ ftp://ftp.sunsite.org.uk/Mirrors/ftp.redhat.com/pub/rawhide/i386/RedHat/RPMS/ http://www.redhat.com/download/mirror.html a) Required: apache-1.3.12-2 freetype-1.3.1-5 b) Optional, if the Horde/IMP web server will also be: imap-4.7-7 (...an IMAP server) krb5-configs-1.1.1-21 (...an IMAP server) krb5-libs-1.1.1-21 (...an IMAP server) openldap-1.2.10-4 (...an OpenLDAP server) postgresql-6.5.3-6 (...a PostgreSQL server) 2) MySQL RPMs (only if using the MySQL database) ftp://ftp.mysql.org/pub/mysql/Downloads/MySQL-3.22/ a) Required: MySQL-client-3.22.32-1 MySQL-shared-3.22.32-1 b) Optional, if the Horde/IMP server will also be: MySQL-3.22.32-1 (...a MySQL server) 3) Horde-customized PHP RPMs ftp://ftp.horde.org/pub/RPMS/i386/ a) Required: php-3.0.16-5horde7 php-imap-3.0.16-5horde7 b) Optional php-ldap-3.0.16-5horde7 (if using OpenLDAP) php-mysql-3.0.16-5horde7 (if using MySQL) php-pgsql-3.0.16-5horde7 (if using PostgreSQL) (The old mod_php-* RPMs are no longer needed; they are obsoleted by these new php-* RPMs.) TESTING To test the RPMs, create a file called /home/httpd/html/phpinfo.php3 with the following line in it: Then use a web browser to access the page at: http://(your site)/phpinfo.php3 You should see that IMAP, LDAP, MySQL, PostgreSQL, etc. support is loaded. CREDITS Thanks to Mike Hardy and Christopher Murley for contributing several useful ideas from their own PHP SPECs. CONTACT We'd love to have feedback on these RPMs: Horde IMP PACKAGER Brent J. Nordquist