Re: Again PEAR problem of connection

From: Date: Wed, 20 Nov 2002 14:44:45 +0000
Subject: Re: Again PEAR problem of connection
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2774@lists.php.net to get a copy of this message
On Wed, 20 Nov 2002 15:39:05 +0100 Milo Nextitalia <milo@nextitalia.it> wrote: > Ok i have put DB inside PEAR like your example, but with this simple > script don't goes again: > > <?php > > ini_set('include_path',':./PEAR:./PEAR/DB'); The '.' (current path) missed. The 3rd path is useless, making the 2nd absolute is just more easy to use :) ini_set('include_path','.:/path/to/PEAR'); Btw, you may plan to add an .htaccess and set the include_path globally there using php_admin_value('include_path','.:/path/to/PEAR'); > and nothing more. > > WHY? add error_reporting(E_ALL); to your script and be sure errors are wroten. hth pa

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