Error I Keep Getting PDOException

Michael Nickson

Registered
Aug 14, 2014
1
0
1
cPanel Access Level
Website Owner
Hello,

I have been receiving this error - Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' , And I have no clue how to fix it. I already have PDO installed and enabled. Any help would be appreciated thank you!
 

triantech

Well-Known Member
Jul 1, 2014
143
1
18
Kochi, India, India
cPanel Access Level
Root Administrator
Hello :)

You might need to check if the PDO driver is enabled along with the PDO extension.
What does # php -m | grep pdo give you ?

Mostly chances for PDO-mysql driver to be missing. If so, you might need to recompile PHP/Apache using
EasyApache and select the driver.
 

cPanelMichael

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

Your access level is listed as "Website Owner". You will need to report this issue to your web hosting provider if you do not have root access to this system.

Thank you.