hi,
i'm just trying to install PEAR (simply for the DB extension) on my local machine running Windows 2000 Pro and IIS 4.0.
PHP is fine, running scripts...all is well.
MySQL is fine.
But accessing MySQL from my PHP scripts using
$db = DB::connect($datasource); // attempt connection
// if connection failed show error
if(DB::isError($db)) {echo($datasource) ;
die($db->getMessage());
is always producing error "DB Error: not found"
i'm almost sure there is something screwy in my PEAR installation. this is the second time i've need to install it locally and i remember last time doing God knows what and suddenly it all worked.
first off, where should the "DB" folder sit? I put it both under C:/PHP/ and C:/PHP/PEAR/