Re: Problem using Config.php
| From: | Gregory Beaver | Date: | Tue, 24 Oct 2006 23:59:12 +0000 |
| Subject: | Re: Problem using Config.php | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25616@lists.php.net to get a copy of this message | ||
Matthias Otto wrote:
> Hallo!
>
> I have got two problems.
>
> 1) There is some problem with pear installation: I have installed the
> Ubuntu-package. Pear was installed into "/usr/share/php/PEAR/". Now I
> want to use Config.php. But I get the message "No such file or
> directory". I checked php.ini and included "/usr/share/php/PEAR/" to
> include_path. But still the error message remains the same.
>
> 2) Then I included the full path into the require_once string. Now file
> Config.php is recognized. I want to use class Config() as in the
> documentation examples given. But now I get the message "Class 'Config'
> not found". And I realy can't find the class definition nowhere.
sudo pear install Config
Then you will have the Config file in /usr/share/php/PEAR/Config.php
Greg