Re: Re: Beginning with PEAR

From: Date: Wed, 26 Apr 2006 12:59:52 +0000
Subject: Re: Re: Beginning with PEAR
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23843@lists.php.net to get a copy of this message
Romain SEGUY wrote:
Once PEAR.php included, I still have a problem with DB/DataObject.php :
|    require_once 'DB.php';  // No error
require_once 'DB/DataObject.php' ; // generates a warning : |*"Warning*: main(DB/DataObject.php): failed to open stream: No such file or directory" If I comment out "require_once 'DB/DataObject.php' ;", PHP tells me he doesn't know the class 'DB_DataObject' when parsing "class DataObjects_Person extends DB_DataObject {"
Is the package installed?
Is there a place describing PEAR directory/file structure ? I tried to install PEAR locally but it's too much work, because I need to install at least Apache and PHP to download it (or I misunderstood something again ?!?).
You don't need all that to install PEAR locally. http://pear.php.net/manual/en/installation.shared.php -- Scott Mattocks Author of: Pro PHP-GTK http://www.crisscott.com

« previous php.pear.general (#23843) next »