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.

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:
    8
    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
    
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
Loading...

Share This Page