Fatal error: Class 'PDO' not found

If you are using custom php.ini and encountered following:

Fatal error: Class 'PDO' not found

Please add following entry to your custom php.ini

extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so

Save and reload your website to see any errors.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to enabled ini_set() which has been disabled for security reasons

By default, some php functions has been disabled by admin due to security reasons.In some cases,...

Requires the ionCube PHP Loader

When you use custom php.ini for your web application, you are required to include following...

How to activate Redis cache in Wordpress?

Our web server (cPanel based) setup with redis caching support. As what stated in Redis website,...

CloudLinux Resources Control

WHAT IS CLOUDLINUX?CloudLinux is an operating system that specially designed for shared hosting...