| Adam Ashley 2006-10-30, 7:07 pm |
| On Tue, 24 Oct 2006 18:59:12 -0500, Gregory Beaver =20
<greg@chiaraquartet.net> wrote:
> Matthias Otto wrote:
>
> sudo pear install Config
>
> Then you will have the Config file in /usr/share/php/PEAR/Config.php
>
At a guess Matthias I would say you got the two meanings of PEAR =20
. /usr/share/php/PEAR/Config.php contains PEAR_Config which is =20
part of the PEAR Installer package.
In your setup (which looks like the default one) /usr/share/php =20
contains the installed PEAR Repositiory.
To make use of the Config package available through PEAR use the =20
command Greg mentioned:
sudo pear install Config
Once done update your php.ini so the include path contains =20
/usr/share/php not /usr/share/php/PEAR.
Then you will have the Config package available at =20
/usr/share/php/Config.php and includable via
require_once 'Config.php';
Adam Ashley
|