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: 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:
    51
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kshazad

    kshazad Member

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

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

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    262
    Likes Received:
    6
    Trophy Points:
    168
    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 .
     
    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