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. Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.