Displaying 1 result from an estimated 1 matches for "pdotest".
Did you mean:
dotest
2009 Aug 04
2
php-pdo
...er=test;password=test");
} catch(PDOException $e) {
print "Error : " . $e->getMessage() . "<br/>";
die();
}
?>
I get no output in the browser, but I see this error in Apache log:
PHP Fatal error: Class 'PDO' not found in /var/www/html/pdotest.php on line 4
Well, it appears the PDO class is not provided by the php-pdo package:
# rpm -ql php-pdo |less/etc/php.d/pdo.ini
/etc/php.d/pdo_sqlite.ini
/usr/lib/php/modules/pdo.so
/usr/lib/php/modules/pdo_sqlite.so
So, what package does provide it or have I misunderstood something?
Regards,
Pe...