[imp] PEAR stuff.... wooaa
Metee Khanongnuch
may@yipintsoi.com
Mon, 21 Jan 2002 22:27:00 +0700
You can add php include path in your "httpd.conf" instead of "php.ini"
Example:
<Directory "/usr/local/apache/htdocs/horde">
Options +FollowSymLinks
AllowOverride None
php_value include_path '/usr/local/lib/php:.'
php_flag magic_quotes_gpc Off
php_flag track_vars On
Order allow,deny
Allow from all
</Directory>
----- Original Message -----
From: "Valki" <valki@valki.com>
To: <imp@lists.horde.org>
Sent: Monday, January 21, 2002 9:49 PM
Subject: [imp] PEAR stuff.... wooaa
> First off: sorry - i dont want to be a pain in the **** :-)
>
> My question is the following:
>
> I have php 4.1.1 running without any problems..
> Horde gives me this error:
>
> Fatal error: Failed opening required 'PEAR.php' (include_path='') in
> /usr/local/httpd/htdocs/horde/lib/Registry.php on line 4
>
> When I alter my php.ini and add the path to the pear folder to
> "include_path = " -> then it works.. But every other site on the
> server has include problems :-(
>
> Where can I tell horde (or php) where that dumb PEAR classes are?
>
> Thanks a LOT, Valki
>
>