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: Unable to load dynamic library

Discussion in 'Workarounds and Optimization' started by kshazad, Aug 17, 2011.

  1. kshazad

    kshazad Member

    Joined:
    Nov 4, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    My log file (/usr/local/apache/logs/error_log) is constantly showing the following error:


    Code:
     PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Aug 18 00:53:03 2011] [error] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Aug 18 00:53:03 2011] [error] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Aug 18 00:53:14 2011] [error]Failed loading /usr/local/Zend/lib/ZendExtensionManager.so:  /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
    [Thu Aug 18 00:53:14 2011] [error] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Can anyone let me know of a quick fix to this?
     
  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 for an empty extension = line in /usr/local/lib/php.ini:

    Code:
    grep ^extension /usr/local/lib/php.ini
    If you see an empty extension = line in that file, then comment it out with ; in front of the line. At that point, restart Apache to see if the errors persist.
     
  3. kshazad

    kshazad Member

    Joined:
    Nov 4, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Nope,

    There are no empty extension= line in my php.ini file.
     
  4. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    249
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    check if you have any local php.ini in your document root . May be that file have this extensions .
     
Loading...

Share This Page