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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.