6.0.0-git
2020-09-26

Diff for RHEL3PearHowTo between 12 and 13

+ Installing PEAR modules necessary on RHEL 3 (or clones)



//#// first change to the framework directory and get the framework PEAR packages installed

<code>
<code>
cd /var/www/html/horde/framework/

php install-packages.php

</code>



//#//  You will need to download these two packages to complete the pear installation



<code>

wget http://dag.wieers.com/packages/php-sqlite/php-sqlite-1.0.2-1.rhel3.dag.i386.rpm

wget http://dag.wieers.com/packages/sqlite/sqlite-2.8.16-1.1.el3.rf.i386.rpm

rpm -ivh sqlite-2.8.16-1.1.el3.rf.i386.rpm

rpm -ivh php-sqlite-1.0.2-1.rhel3.dag.i386.rpm

</code>



//#//  new as of 3/19/2007 - was painful to figure this out. The first issue is to get the structures graph dependency
//#//  the second issue is to make a copy of /usr/bin/pear since updating pear seems to delete it

<code>
pear install structures_graph
cp /usr/bin/pear /opt
pear upgrade pear
cp /opt/pear /usr/bin
</code>

//#// needed for Horde base

<code>

pear install Log

pear install Mail_Mime

pear upgrade DB

pear install Date

pear install Auth_SASL

pear install File

pear install Net_URL

</code>



//#// needed for IMP

<code>

pearpear install HTTP_Request

</code>


</code>

//#// needed for Wicked

<code>
<code>
pear install Text_Wiki

</code>



//#// needed for Ingo

<code>

pear install Net_Sieve

pearpear install Net_Socket

</code>


</code>

//#// needed for weather portal block in Horde

<code>

pear install cache

pear install net_dime

pear install soap

pear install xml_util

pear install xml_parser

pear install serializer

pear install xml_serializer

pearpear install services_weather

</code>


</code>

//#// needed for passwd smbldap driver

<code>
<code>
pear install Crypt_CHAP

</code>



//#// and lastly...

<code>
pear upgrade-all
</code>

pear upgrade-all

</code>



IfIf for some reason PEAR breaks...



then I just 

<code>
<code>
cd /usr/share

mv pear pear.bak

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

</code>



//#// for RHEL 3 only

<code>

up2date php-mysql php-imap php-ldap php

</code>

</code>

//#// for RHEL clones

<code>
<code>
yum install php-mysql php-imap php-ldap php

</code>


</code>

and then back to the top and reinstall starting with

<code>

cd /var/www/html/horde/framework

php install-packages.php

</code>