include_path problem and PEAR DB

From: Date: Wed, 28 Sep 2005 18:44:44 +0000
Subject: include_path problem and PEAR DB
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21136@lists.php.net to get a copy of this message
Hi All, I'm running PHP5 on Windows XP/Pro with Apache 1.3.33. The include_path in my php.ini is set to: include_path=".;C:\PHP\pear;C:\php\ext;C:\PHP\Smarty-2.6.9\libs;C:\PHP\PEAR\pear" When I use require_once('DB.php'); in my php scripts, I get an error //////////////////////////////////////////////////////////// "<b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: Failed opening required 'DB.php' (include_path='.;C:\php5\pear') in <b>C:\Program Files\Apache Group\Apache\htdocs\private_stuff\database.phpm</b> on line <b>4</b><br /> ////////////////////////////////////////////////////////// Note that the error says the file can't be found in the include_path=C:\php5\pear. I've searched my drive for other php.ini files and searched the registry for a reference to C:\php5 and can't find one. My php.ini's include_path is set correctly. Where could this php5 path be coming from? No such folder exists on my computer. Thanks, Steve

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