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!

Unable to load dynamic library error

Discussion in 'General Discussion' started by Bidi, Oct 17, 2017.

  1. Bidi

    Bidi Well-Known Member

    Joined:
    Oct 3, 2012
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Romania, Transilvania
    cPanel Access Level:
    DataCenter Provider
    Hello guys, i start to have lots of problems with some websites hosted on ower server and the problem is with: 500 Internal Server Error

    We didnt made any changes to ower easyapache or server in the last monts and just like theat in the last 1-2 weeks i got lots of customers complaining about the problem, websites witch was warking before.

    I repeat, we didnt made any changes to the server not even the customers to theyr cpanel account or website. and we get this error when accesing the website on error_log

    Code:
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/bcmath.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/calendar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/calendar.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ctype.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ctype.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/dom.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/fileinfo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ftp.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/gd.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/gettext.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/iconv.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/iconv.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/imap.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/json.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/mbstring.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/mcrypt.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysqlnd.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysqlnd_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysqlnd_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysqlnd_mysqli.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysqlnd.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/posix.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/posix.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/simplexml.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/simplexml.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/soap.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sockets.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sockets.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite3.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/tokenizer.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/tokenizer.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xml.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xml.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/wddx.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xmlreader.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xmlrpc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xmlwriter.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/xsl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/zip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Oct-2017 17:37:53 Europe/Helsinki] PHP Fatal error:  Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
    Got anyone any ideas ?

    Thank you
     
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    125
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    In logs we can see php warning for the various modules which are not present under the extension_dir which called in php.ini file.
    Please check if you are using any custom php.ini for the domains. Need to check PHP settings for domain or server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Shushant likes this.
  3. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    39
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Bidi

    Bidi Well-Known Member

    Joined:
    Oct 3, 2012
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Romania, Transilvania
    cPanel Access Level:
    DataCenter Provider
    I sow allready the thread, is from 2010, we ar in 2017 and what i sow on the thread was some sort of bug witch i think is back the same, cuz this happened after we updated the server, we didnt made any config changes on ower server in the mast 2 mo only update to lastest v cpanel..

    The problem is not for only 1 domain name is for more now 6 at this moment, websites was working before.

    In /usr/local/lib/php/ we dont have any extensions folders

    Forgot to mention, we use cloudlinux, php v5.6 as default
     
  5. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    39
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    If you are using EA4 on your CloudLinux machine, the PHP module will be on "/opt/cpanel/ea-php56/root/usr/lib64/php/modules/", please check mentioned folder and verify all the modules are there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Bidi

    Bidi Well-Known Member

    Joined:
    Oct 3, 2012
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Romania, Transilvania
    cPanel Access Level:
    DataCenter Provider
    I do have home modules there
     
  7. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    39
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    In that case, we can see those PHP warning for the various modules which are not present under the extension_dir which called in php.ini file.
    You can check the currently loaded PHP configuration file by running below command:

    Once it is done, check for the extension_dir entry on php.ini file.
    If there seems any entry as "/usr/local/lib/php/extensions/no-debug-non-zts-20060613/" you need to comment-out those lines and check once again.

    Also, please check if you are using any custom php.ini for the domains.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Bidi

    Bidi Well-Known Member

    Joined:
    Oct 3, 2012
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Romania, Transilvania
    cPanel Access Level:
    DataCenter Provider
    Hy, i got this.

    [root@d9 ~]# php --ini | grep "Loaded Configuration File"
    Loaded Configuration File: /opt/cpanel/ea-php56/root/etc/php.ini
    [root@d9 ~]# grep extension_dir /opt/cpanel/ea-php56/root/etc/php.ini
    ; extension_dir = "./"
    ; extension_dir = "ext"
    ;sqlite3.extension_dir =
    [root@d9 ~]#
     
  9. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    39
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Have you checked the custom php.ini file for those domains? if any.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Bidi

    Bidi Well-Known Member

    Joined:
    Oct 3, 2012
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Romania, Transilvania
    cPanel Access Level:
    DataCenter Provider
    good man, the domain was having custom php.ini file, is there a way to be able to "not allow the customers to use custom php.ini file ?"
     
  11. Muhammed Fasal

    Muhammed Fasal Active Member

    Joined:
    Aug 9, 2017
    Messages:
    39
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    I could see another thread regarding same that might help you, please have a look on it;)

    How-to disable users php.ini and user.ini files
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. cPanelRyland

    cPanelRyland cPanel Technical Analyst
    Staff Member

    Joined:
    Oct 4, 2017
    Messages:
    23
    Likes Received:
    2
    Trophy Points:
    78
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hello Bidi,

    It looks like Muhammed was able to assist you regarding this issue, were you able to get this sorted out and resolve the errors being logged?
     
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