Jump to content

PEAR can't find DB.php


jt45

Recommended Posts

I receive the following error
Warning: 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 6

Fatal 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 6

php-pear is installed.

Thanks.
Link to comment
https://forums.phpfreaks.com/topic/23946-pear-cant-find-dbphp/
Share on other sites

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.php
Console  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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.