yafi

Registered
Apr 4, 2012
1
0
51
cPanel Access Level
Root Administrator
Hi,
We just re-installed our server due to a hardware failure and I am restoring the domains one by one. This domain is using drupal for their website and they are getting a PDO related error. I have recompiled the server with easy apache and installed PDO on it. Restarted cpanel and httpd, still we're getting following error:

Fatal error: Class 'PDO' not found in /home/username/public_html/domain.com/includes/database/database.inc on line 184

Help would really be appreciated.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello :)

Check to see if this account uses a custom php.ini file within it's home directory or any of the subdirectories leading up to the path listed in the error message. If it does, try moving that php.ini file out of the way to confirm if it's the cause of the error message.

Thank you.