SOLVED upgrade 5.6 and pdo problem

upsforum

Well-Known Member
Jul 27, 2005
474
0
166
Dear support,

I upgraded php to 5.6 but now PDO not work, this is error:

[21-Dec-2016 12:15:36 UTC] PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
[21-Dec-2016 12:15:36 UTC] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
[21-Dec-2016 12:15:36 UTC] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
[21-Dec-2016 12:15:36 UTC] PHP Fatal error: Class 'PDO' not found in /home/imxcyczb/public_html/include/config.php on line 5
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
I rewrited user php.ini with original php.ini of server and solved
Hello,

I'm happy to see you were able to resolve the issue. Thank you for updating us with the outcome.