Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Tuesday, November 9, 2010

PHP Fatal error: Class 'PDO' not found

When using SQLite with Php for the first time, you might get this error under /var/log/httpd/error_log (I was using a Fedora 13 machine). The trick is to install a package called "php-pdo" and then use the function.

su
yum install php-pdo

Hopefully it will save someone some heartache :)