Failed Opening Required DB.php
| From: | Roger Spears | Date: | Tue, 13 Jan 2004 15:27:01 +0000 |
| Subject: | Failed Opening Required DB.php | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10147@lists.php.net to get a copy of this message | ||
Hello,
I'm new to PEAR and I seem to be having trouble. I'm guessing that PEAR is not installed properly on the server, or there is some other setting that is not correct.
The errors I'm receiving are:
Warning: open_basedir restriction in effect. File is in wrong directory in /domain.com/httpdocs/admin/index.php on line 2
Fatal error: Failed opening required 'DB.php' (include_path='.:/usr/share/pear') in /domain.com/httpdocs/admin/index.php on line 2
When I run a phpinfo(), I do see these lines in regards to PEAR:
Configure Command: '--with-pear=/usr/share/pear'
Include Path: .:/usr/share/pear
In my code, I'm calling PEAR with the following:
require_once 'DB.php';
My server is running RH 9, Apache 2.0.40, PHP 4.2.2 and MySQL 3.23.56
Thanks,
Roger