AW: [imp] Include path help!!!!
Rodolfo Segleau
segleaur@mechanus.org
Wed, 5 Jun 2002 09:09:20 -0500
Quoting Jan Schneider <jan@horde.org>:
> Zitat von Tilo Lutz <TiloLutz@gmx.de>:
>
> > > I have installed php. when I login...this is
> > > the error I see.
> >
> > > Warning: Failed opening '/usr/share/php/Log.php' for
> > > inclusion (include_path='.:/usr/local/lib/php') in
> > > /usr/mailserver/apache/htdocs/horde/lib/Horde.php on
> > > line 141
> >
> > Which version of PHP are you using?
> > 4.2.1 is incomplete. Download the 4.1.2 Source and
> > copy the missing files manually to /usr/share/php
>
> Once for all time: PEAR from PHP 4.2.1 isn't incomplete. Get used to using
> the PEAR installer to install and/or update PEAR packages:
>
> 'pear help'
>
I also fixed this problem by using:
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
<IfModule mod_php4.c>
php_value include_path "/usr/local/lib/php:."
</IfModule>
in the horde.conf that comes in the RPM for RH 7.x systems. I'm using this on a
SuSe 7.1 system with PHP 4.2.1 without hitches. Just make sure that the
include_path is pointing to the PHP installation.
Cheers,
Rodolfo