Re: Installing packages manually

From: Date: Wed, 06 Nov 2002 14:31:12 +0000
Subject: Re: Installing packages manually
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2639@lists.php.net to get a copy of this message
If that does not help, try: DB::connect(SL_DSN, array('persistent' => true, 'debug' => 10)); - Stig On Tue, 2002-11-05 at 08:08, Arnaud Limbourg wrote: > mmm, > > if (DB::isError($DB)) { > echo $DB->getMessage(); > } > > Should show you the error. > > > I've had this problem before ... I am installing PEAR::DB manually because > > the pear script that comes with PEAR does not work on my Win32 system (Win98 > > SE; the script PEAR.bat acts as if no commandline options are entered, when > > they are typed correctly). I have the following setup: > > > > <? > > define ("SL_APPL_DIR" , "e:/dir/"); > > include_once(SL_INCLUDE_DIR . "PEAR/DB.php"); > > define("SL_DSN","mysql://username:password@localhost/database"); > > > > echo "START"; > > $DB = DB::Connect(SL_DSN, true); > > echo "END"; > > ?> > > > > When I load a page with just this code, I never see END. No error, nothing. > > I had this problem before, successfully solved it, moved files around, and > > wrecked it again. > > > > The basic question is, where does PEAR need/require my/its files to be in > > order to run? > > -- > > O. > > > > > > > > > > -- > > PEAR General Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb

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