[horde] php/horde doesn't find pear
Daniel Vandal
dvandal at infoteck.qc.ca
Tue Aug 17 11:00:38 PDT 2004
Hi,
You can set this value at two differents place for Horde instead of
php.ini...
The first place I found his in the Apache httpd.conf file :
<Location />
php_value include_path "/usr/local/php4/lib/php:."
</Location>
And in the horde/lib/core.php file :
ini_set('include_path', "/usr/local/php4/lib/php:.");
---
Daniel Vandal
dvandal at infoteck.qc.ca
----- Original Message -----
From: "Julián Muñoz" <jmunoz at softhome.net>
To: <horde at lists.horde.org>
Sent: Tuesday, August 17, 2004 11:16 AM
Subject: [horde] php/horde doesn't find pear
>
> Hello:
>
> I've just installed php 4.3.8 and Horde 2.2.5.
>
> It is not able to find pear, even if I configure well
> /usr/local/php4/lib/php.ini with include_path=/usr/local/php4/lib/php.
>
> /usr/local/php4/ is where I have installed php, and lib/php (relative to
> the last one) is where php installs pear by default.
>
> If installed the packages following the documentation (calling "pear
> install <package>", with for example "./pear install Mail_Mime", from the
> /usr/local/php4/bin/ directory), and everything seems to be ok (the binary
> downloaded things and installed them).
>
>
> But opening /horde/test.php still says:
>
> (...)
> PEAR
>
> * PEAR - No
> * Check your PHP include_path setting to make sure it has the PEAR
> library directory.
> * Recent PEAR - No
> * Mail - No
> * Log - No
> * DB - No
> * Net_Socket - No
> * Date - No
> * HTML_Common/HTML_Select - No
>
>
> And opening /horde/imp/ :
>
>
> Warning: main(PEAR.php): failed to open stream: No such file or directory
> in /usr/local/share/horde-2.2.5/lib/Registry.php on line 13
>
> Fatal error: main(): Failed opening required 'PEAR.php'
> (include_path='/usr/local/php4/lib/php') in
> /usr/local/share/horde-2.2.5/lib/Registry.php on line 13
>
>
> Where is the problem ??
>
> Could it be related with permissions, as I see that all the directories
> from /usr/local/php4 have the "drwx--S---" permission, with owners
> "root.staff", and for example I have
> -rw------- 1 root staff 30154 Aug 16 13:30 PEAR.php
> /usr/local/php4/lib/php
>
> But it should not, because the file /usr/local/php4/lib/php.ini is found
> and interpreted (when I change include_path it is reflected on the error
> message), so PEAR.php should be found also. ???
>
>
>
> Many thanks,
>
> Julian
>
>
>
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
More information about the horde
mailing list