Results 1 to 11 of 11

Thread: PHP Startup: unable to load dynamic library

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    1

    Exclamation PHP Startup: unable to load dynamic library

    My all websites have an error log with the same error:

    [28-May-2011 18:02:47] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0
    [28-May-2011 18:02:53] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0
    [28-May-2011 18:02:55] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0
    [28-May-2011 18:02:56] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0
    [28-May-2011 18:03:05] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0


    How I fixed this issue?

    Please help me.

  2. #2
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    570

    Default Re: ERROR LOG - PHP Startup: Unable to load dynamic library

    I would open a support ticket immediately.
    cPanel provides complimentary support that will cover troubleshooting this with you.

    Make sure an provide as much detail as you possibly can about what as lead to this point. I'd also suggest that you provide your root or wheel access (or ask them to give you an ssh public key) so that they may log into the system; it will greatly speed up the process.

    -DavidN
    Last edited by cPanelDavidN; 05-30-2011 at 07:31 AM. Reason: adding link
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Requests

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,609
    cPanel/WHM Access Level

    Root Administrator

    Default Re: PHP Startup: unable to load dynamic library

    Hello,

    Please check for an empty extension line in /usr/local/lib/php.ini file:

    Code:
    grep ^extension /usr/local/lib/php.ini
    If you find any "extension =" line without content after the equal (=) sign, then comment out that line and restart Apache. The error you've indicated is almost always due to an empty extension line in the php.ini file.

    Please note that I've moved your thread from Developer Discussions to cPanel and WHM Discussions as this thread would have more to do with that area, since the error is not one to do with our APIs or coding.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  4. #4
    Registered Member cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    404
    cPanel/WHM Access Level

    Root Administrator

    Default Re: PHP Startup: unable to load dynamic library

    Had this problem as well and the empty extension line was the cause.
    Thanks Tristan.

  5. #5
    Registered Member
    Join Date
    Nov 2009
    Posts
    15

    Default Re: PHP Startup: unable to load dynamic library

    I am seeing this problem as well. I did remove empty lines in the php.ini and did an easyapache rebuild. Problem still exisits.

    Is there another cause for this?

    t

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,609
    cPanel/WHM Access Level

    Root Administrator

    Default Re: PHP Startup: unable to load dynamic library

    Can you please post the exact error message you are seeing? Please also ensure the account in question doesn't have its own php.ini file under suPHP that is being loaded.

    Next, can you please post the output of the following command:

    Code:
    php -v
    If there are errors in the /usr/local/lib/php.ini file, they will oftentimes output when checking the PHP version with that command.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Registered Member
    Join Date
    Nov 2009
    Posts
    15

    Default Re: PHP Startup: unable to load dynamic library

    the error is:

    [27-Oct-2011 10:52:25] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:52:25] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:52:30] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:52:30] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:53:02] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:53:02] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:53:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    [27-Oct-2011 10:53:39] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0


    the php version is :
    Last login: Mon Oct 31 11:51:19 2011 from tc.s1i.net
    root@cp [~]# php -v
    PHP 5.3.6 (cli) (built: Oct 31 2011 11:58:30)
    Copyright (c) 1997-2011 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with the ionCube PHP Loader v4.0.9, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
    root@cp [~]#

    thanks

    t

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,609
    cPanel/WHM Access Level

    Root Administrator

    Default Re: PHP Startup: unable to load dynamic library

    Does the account in question have its own php.ini file?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Registered Member
    Join Date
    Nov 2009
    Posts
    15

    Default Re: PHP Startup: unable to load dynamic library

    I don't think so. I have not done any php.ini edits or ads in the whm or cpanel for this site.

  10. #10
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    13,085
    cPanel/WHM Access Level

    Root Administrator

    Default Re: PHP Startup: unable to load dynamic library

    Hello

    I suggest opening a support ticket at this point using the following URL:

    Submit A Ticket

    Please post the ticket number here so we may track the issue for you.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services - Change Logs
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  11. #11
    Registered User
    Join Date
    May 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default Re: PHP Startup: unable to load dynamic library

    Nice one! I was getting the same error. Came about when I removed the sushosin extension from the php config in WHM. The fix worked

Similar Threads

  1. PHP Warning: PHP Startup: Unable to load dynamic library PDO.SO
    By msalmanzaib in forum General Discussion
    Replies: 2
    Last Post: 02-24-2014, 08:07 AM
  2. PHP Startup: Unable to load dynamic library
    By DBM in forum General Discussion
    Replies: 2
    Last Post: 01-20-2013, 06:03 AM
  3. PHP Startup: Unable to load dynamic library
    By YALDesign in forum Workarounds and Optimization
    Replies: 2
    Last Post: 12-22-2012, 08:41 AM
  4. PHP Startup: Unable to load dynamic library error [help]
    By YapRaQQ in forum General Discussion
    Replies: 5
    Last Post: 03-16-2011, 06:21 AM
bargain