Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2012
    Posts
    18
    cPanel/Enkompass Access Level

    Website Owner

    Default PHP Warning: PHP Startup: Unable to load dynamic library

    Hello,

    After recompyling EasyApache php is throwing these "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626" errors. I read several threads, applied suggestions but nothing seems to make an impact.

    **************************
    **************************

    [07-Feb-2012 18:10:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [07-Feb-2012 18:10:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ioncube.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ioncube.so: cannot open shared object file: No such file or directory in Unknown on line 0


    **************************
    **************************

    I've checked via grep extension /usr/local/lib/php.ini if I have empty extensions but that wasn't the case. Here is my current output:


    **************************
    **************************

    ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; you may only use these constants *after* the line that loads the extension.
    ; leading '/'. You must also specify the file extension being used including
    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
    zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.3.so"
    zend_extension = "/usr/local/Zend/lib/Guard-5.5.0/php-5.3.x/ZendGuardLoader.so"
    extension = "suhosin.so"
    extension = "apc.so"
    extension = "eaccelerator.so"
    extension = "mysqli.so"
    extension = "ioncube.so"
    ; If you wish to have an extension loaded automatically, use the following
    ; needs to go here. Specify the location of the extension with the
    ; extension_dir directive above.
    ; dictionary files. Include the base filename, but not the file extension.

    **************************
    **************************

    I also tried to upgrade WHM by setting the release to "current". My current version is 11.30.5.6

    **************************
    **************************


    I've noticed that there is no ioncube.so and mysqli.so in my extension directory. Where does php load these files since my websites are working because without them they don't?

    Thank You.

  2. #2
    Member Mr Goodie2Shoes's Avatar
    Join Date
    Sep 2011
    Posts
    24
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP Warning: PHP Startup: Unable to load dynamic library

    try rebuilding your Apache with the "EasyApache" plugin..

  3. #3
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP Warning: PHP Startup: Unable to load dynamic library

    Hello

    Are you receiving these error messages on a specific account, or for all accounts? You should check to ensure an account is not using a custom php.ini file. It's possible an account is using an outdated php.ini file, in which case you will need to copy the system php.ini file to the account and make any required changes.

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

  4. #4
    Member
    Join Date
    Feb 2012
    Posts
    18
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: PHP Warning: PHP Startup: Unable to load dynamic library

    Hi Guys, it seems that I'm loading some extensions twice. Recompiled with easy apache and they are gone. Thanks.

Similar Threads & Tags
Similar threads

  1. PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non-zts
    By jdilegge in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 03-06-2012, 06:25 AM
  2. PHP Startup: unable to load dynamic library
    By faia in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 11-01-2011, 01:24 AM
  3. PHP: Unable to load dynamic library
    By kshazad in forum Optimization
    Replies: 3
    Last Post: 08-19-2011, 04:06 AM
  4. PHP Startup: Unable to load dynamic library error [help]
    By YapRaQQ in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-16-2011, 06:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube