6.0.0-git
2024-04-26
Last Modified 2005-02-22 by Guest

Installing pear modules necessary on RHEL 3 (or clones)

To install the pear module called 'Log' - current version requires that you have sqllite and php-sqllite which are not part of any of the channels in the RHEL 3 distribution.

I have found that the easiest way to install them is to use Dag Wieers repository - which is located at http://dag.wieers.com/home-made/apt/packages.php

The easiest thing to do would be to install his 'apt' for RHEL 3 which can be found at http://dag.wieers.com/home-made/apt/FAQ.php#B2

or if you are using an RHEL clone (Cent OS, Whiteboxlinux etc.) which use yum, you can add his 'repo' to your yum configuration - the details are at http://dag.wieers.com/home-made/apt/FAQ.php

apt-get install php-sqlite or yum install php-sqlite

once you have those two rpm's installed, the rest is easy...

# first change to the framework directory and get the framework php/pear packages installed...

cd /var/www/html/horde/framework/

php install-packages.php

# then finish

# needed for horde base

pear install Log

pear install Mail_Mime

pear upgrade DB

pear install Date

pear install Auth_SASL

pear install File

# needed for IMP

pear install HTTP_Request

# needed for wicked

pear install Text_Wiki

# needed for ingo

pear install Net_Sieve

pear install Net_Socket

# needed for weather portal block in horde

pear install cache

pear install net_dime

pear install Net_URL

pear install soap

pear install xml_util

pear install xml_parser

pear install serializer

pear install xml_serializer

pear install services_weather

# and lastly...

pear upgrade-all

If for some reason pear breaks...

then I just

cd /usr/share

mv pear pear.bak

rpm -e php-mysql php-imap php-sqlite php-ldap

# for RHEL 3 only

up2date php-mysql php-imap php-ldap php

apt-get install php-sqlite

# for RHEL clones

yum install php-mysql php-imap php-ldap php sqlite php-sqlite

and then back to the top and reinstall starting with cd /var/www/html/horde/framework & php install-packages.php