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!

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:
    467
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    467
    Likes Received:
    0
    Trophy Points:
    166
    I rewrited user php.ini with original php.ini of server and solved
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice