[horde] Installing Horde 2.0 on Red hat 7.2 - Wrong PHP / PEAR Versions

Brent J. Nordquist bjn at horde.org
Sat Mar 16 10:11:23 PST 2002


On Thu, 14 Feb 2002, Computers in Medicine <pittmed at pittmed.pitt.edu> wrote:

> I would like to install Horde 2.0 under Red Hat Linux 7.2. I read that one
> of the requirements was either PHP 4.0.6 with a manually upgraded PEAR or
> PHP 4.1.0. RH 7.2 comes with PHP 4.0.6 so I tried just upgrading PEAR
> through the following steps:
> 
> 1. Download pear-4.1.0.tar.gz from www.horde.org/pear
> 
> 2. I unpacked it and found it contained the following contents
> 
> Archive/    Cache.php   DB/         HTTP/     Log.php   Net/
> PEAR.php    Benchmark/  Console/    DB.php    HTTP.php  Mail/
> Numbers/    Schedule/   build/      Crypt/    File/     Image/
> Mail.php    Payment/    System.php  Cache/    Date/     HTML/
> Log/        Math/       PEAR/       XML/
> 
> 3. At www.horde.org/pear I found following instructions:
> To install this package simply backup your current /usr/local/lib/php (or
> wherever PEAR lives on your system; /usr/local/share/php/pear is another
> possibility) directory, and uncompress the contents of the archive above
> into that same directory.
> 
> 4. /usr/local/lib/php contained exactly the same files at the archive I
> downloaded, with the exception of one more directory called extensions.

Note that the Red Hat PHP RPMs (and the Horde ones derived from them) put
pear in /usr/share/php, not /usr/local/lib/php.  That's probably where the
problem came from.  You want to look at the phpinfo() screen from
test.php and see what your include_path is (that will tell you where PHP
is looking for PEAR).

[Sorry for the delay in responding (I'm a bit behind on list mail) but I
thought this should get to the list archive.]

-- 
Brent J. Nordquist <bjn at horde.org> N0BJN       / OPN: #horde
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942





More information about the horde mailing list