Re: Pear

From: Date: Sat, 01 Mar 2008 22:24:43 +0000
Subject: Re: Pear
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-270813@lists.php.net to get a copy of this message
On Sat, Mar 1, 2008 at 3:41 PM, <movies@biblescramble.com> wrote: > Dear PHP List Experts, > > I'm trying to use Pear at my host, Leadhoster. > > This line: > > require_once('DB.php'); > > Gets this error: > > Warning: main(DB.php): failed to open stream: No such file or directory in > /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4 > > Fatal error: main(): Failed opening required 'DB.php' > (include_path='.:/usr/local/php4/share/pear') in > /home/www/everoriginal.onlinewebshop.net/connect04.php on line 4 maybe try find /usr/local/php4/share/pear -name 'DB.php' to see if you have that component of pear installed. pear is a component based system, which means even if you have pear installed, there are tons of libraries you can use it to install. if you type pear info DB and nothing comes up, then likely you need to install it with pear install DB > also, regarding the archives, i think there are several archives out there, i always look at marc tho; http://marc.info/?l=php-general -nathan

« previous php.general (#270813) next »