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

From: Date: Fri, 06 May 2005 23:10:11 +0000
Subject: Re: WELCOME to pear-general@lists.php.net
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19086@lists.php.net to get a copy of this message
Darren Ehlers 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... Thanks in advance for any ideas. Darren Ehlers
try this script: <?php var_dump(get_include_path()); require_once 'MDB2.php'; ?> Greg

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