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.

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:
    1
    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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page