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!

PHP Warning: 'PDO' already loaded

Discussion in 'General Discussion' started by wrender, Sep 7, 2011.

  1. wrender

    wrender Well-Known Member

    Joined:
    Sep 29, 2007
    Messages:
    69
    Likes Received:
    3
    Trophy Points:
    58
    I am getting the following errors in the error_log file in each account directory.

    Code:
    [07-Sep-2011 08:00:01] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'SQLite' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'SQLite' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php                                 /extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060                                 613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
    PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'SQLite' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
    [07-Sep-2011 08:05:01] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Check /usr/local/lib/php.ini to see if you have either:

    Code:
    grep ^extension /usr/local/lib/php.ini
    Or:

    Code:
    grep -i pdo /usr/local/lib/php.ini
    For the first, you are checking for an empty extension = line. For the second, you will be checking for duplicate lines of pdo_mysql, PDO, etc. in the file.
     
    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