Fatal error: Class 'PDO' not found in...
I'm trying to publish my website but am hitting problems with my database connectivity. I'm trying to open a sqlite database using the code
$this->link = new PDO('sqlite:'.$this->db_name);
This is throwing the error
Fatal error: Class 'PDO' not found in ... on line ...
I checked my php.ini and I have these lines in it
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
Struggling to see the problem?
$this->link = new PDO('sqlite:'.$this->db_name);
This is throwing the error
Fatal error: Class 'PDO' not found in ... on line ...
I checked my php.ini and I have these lines in it
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
Struggling to see the problem?