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!

PDO Error - urgent

Discussion in 'General Discussion' started by yafi, Apr 4, 2012.

  1. yafi

    yafi Registered

    Joined:
    Apr 4, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,343
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    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