Entry
Help! cannot access DB.php !
Dec 6th, 2006 19:59
Jeff Yang, Jeff Yang
i've tried the below code to test the PEAR installation
require 'DB.php';
if (class_exists('DB')) {
print "ok";
} else {
print "failed";
|
and a blank screen appeared...
so it seems like an installation error??
but when i issue:
pear list
it shows that DB is installed...
i'm also getting the below error??? is it related?
PHP Warning: PHP Startup: Unable to load dynamic
library '/usr/lib/php/modules/pgs
pgsql.so' - libpq.so.4: cannot open shared object file: No such file
or directory i
y in Unknown on line
so anyone know what the problem is???
It turns out that my virtual provider set the open_basedir to limit my
opening of files.. so that is why i can't open the DB.php...
i need to talk to them.. any hints guys??