[imp] including PEAR

Brent J. Nordquist bjn at horde.org
Wed Mar 19 07:59:46 PST 2003


On Tue, 18 Mar 2003, Mark Nienberg <mark at tippingmar.com> wrote:

> I get the message "check your include_path settings to make sure it has
> the PEAR library directory".
>
> I added the PEAR directory to "/etc/php.ini", but that didn't fix it.
>
> phpinfo shows it in the "master value" include_path but not in the
> "local value" include_path.  Is there another place I need to set it?

Use a php_value setting in your /etc/httpd/conf/httpd.conf file (or a file
that file includes).  On my system I have httpd.conf include a horde.conf
which has this section:

<Directory /var/www/html/horde>
    Options Indexes FollowSymLinks
    AllowOverride None
    order allow,deny
    allow from all
    <IfModule mod_php4.c>
        php_value include_path "/usr/share/php:."
    </IfModule>
</Directory>

> Also, phpinfo shows "horde-phplib" in the "local value" include_path.
> I guess that is left over from imp 2.2.8,

(yes... or more precisely, the horde-phplib-1.2.8 RPM)

> but how do I disable it for the new horde/imp?

It's probably being set by something like the above.  The Horde 1.2.x RPMs
added a horde.conf file which had that include_path in it.  Look in your
/etc/httpd/conf directory.

-- 
Brent J. Nordquist <bjn at horde.org> N0BJN
Other contact information: http://www.nordist.net/contact.html




More information about the imp mailing list