Hi,
I've got PEAR 1.3.5 installed on a local FreeBSD (4.9 RELEASE) server.
PHP 4.3.6 has an include path of include_path.:/usr/local/share/pear.:/usr/local/share/pear
and the PEAR modules are indeed installed into
/usr/local/share/pear
I installed DB.php, Mail.php and some others.
Calling DB.php from a PHP page with:
require_once 'DB.php';
I get the error:
Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/local/share/pear') in /home/mysite/htdocs/save_mail_db.php on line 389
I read to check for permissions on the .lock file in the /pear/ directory, but they are:
-rw-rw-rw- 1 root wheel 0 Mar 14 11:13 .lock
and all the subfolders are readable by world.
Is there something I'm missing here that would fix my install?
I've never tried to use PEAR on the local server before (it's working fine for me on a hosted server at the ISP, but I want to test stuff out).
Thanks
I've got PEAR 1.3.5 installed on a local FreeBSD (4.9 RELEASE) server.
PHP 4.3.6 has an include path of include_path.:/usr/local/share/pear.:/usr/local/share/pear
and the PEAR modules are indeed installed into
/usr/local/share/pear
I installed DB.php, Mail.php and some others.
Calling DB.php from a PHP page with:
require_once 'DB.php';
I get the error:
Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/local/share/pear') in /home/mysite/htdocs/save_mail_db.php on line 389
I read to check for permissions on the .lock file in the /pear/ directory, but they are:
-rw-rw-rw- 1 root wheel 0 Mar 14 11:13 .lock
and all the subfolders are readable by world.
Is there something I'm missing here that would fix my install?
I've never tried to use PEAR on the local server before (it's working fine for me on a hosted server at the ISP, but I want to test stuff out).
Thanks