Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED upgrade 5.6 and pdo problem

Discussion in 'EasyApache' started by upsforum, Dec 21, 2016.

Tags:
  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    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
     
  2. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    166
    I rewrited user php.ini with original php.ini of server and solved
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,419
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

Share This Page