Re: RE: WELCOME to pear-general@lists.php.net

From: Date: Fri, 06 May 2005 23:51:09 +0000
Subject: Re: RE: WELCOME to pear-general@lists.php.net
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19087@lists.php.net to get a copy of this message
On 5/6/05, Darren Ehlers <darren@ehlersconsulting.net> wrote: > I have a problem that I cannot seem to track down. > > Everthing works fine on my local test system, but when uploaded to my > server, it's like the include_path isn't being checked. For example: > > require_once ('MDB2.php'); > > Won't work at all (file not found), but the file IS there in the > /usr/local/lib/php/ directory. > > BUT, this works fine: > > require_once ('/usr/local/lib/php/MDB2.php'); > > And the include path is: > > /usr/local/lib/php > > I'm missing something here, and at a loss... > What does phpinfo(); say your include path is? Perhaps you edited the wrong php.ini file (look in phpinfo()'s output for the php.ini file it's using). -- Justin Patrin

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