jt45 Posted October 14, 2006 Share Posted October 14, 2006 I receive the following errorWarning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /home/aztec/www/estimate/pearviewestimate.php on line 6Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:/home/homelinux/phpIncludes:/usr/share/php/Includes:/home/homelinux/phpIncludes/Sites:/home/aztec/phpIncludes:/home/homelinux/selfip/phpIncludes') in /home/aztec/www/estimate/pearviewestimate.php on line 6php-pear is installed.Thanks. Link to comment https://forums.phpfreaks.com/topic/23946-pear-cant-find-dbphp/ Share on other sites More sharing options...
jt45 Posted October 14, 2006 Author Share Posted October 14, 2006 I notice my php include PATH had /usr/share/php/Includes but there is nothing in that directory.ls /usr/share/php/Archive DB HTTP.php Mail Net PEAR System.php data docs peclcmd.phpConsole DB.php Includes Mail.php OS PEAR.php XML doc pearcmd.php tests Link to comment https://forums.phpfreaks.com/topic/23946-pear-cant-find-dbphp/#findComment-108841 Share on other sites More sharing options...
jt45 Posted October 15, 2006 Author Share Posted October 15, 2006 Find the solution. Had to add /usr/share/php to the include_path of php.ini Link to comment https://forums.phpfreaks.com/topic/23946-pear-cant-find-dbphp/#findComment-108932 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.