Re: Pear

From: Date: Mon, 03 Mar 2008 10:08:58 +0000
Subject: Re: Pear
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-270851@lists.php.net to get a copy of this message
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 > > I suspect I need to set up a path to Pear. If so, any help would be > appreciated. > > This program: > <?php > phpinfo(); > ?> > seems to indicate that Pear is there. > > This is my first post to this list, so please let me know if I'm not doing > it right. I couldn't find the archive, so I guess consider that my second > question. > > Thanks in advance! > > Jerry Kassebaum Do you know for sure that your host actually has PEAR installed? It might be worth you asking them, via support ticket or forum (if thay have one) whether it is installed and where. Cheers -- David Robley A cat is nobody's fool. Today is Boomtime, the 62nd day of Chaos in the YOLD 3174.

« previous php.general (#270851) next »