Skip to main content

Unable to load dynamic library error

Comments

11 comments

  • HostingH
    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.
    0
  • Muhammed Fasal
    Hi, From logs, I could see many PHP warnings "Unable to load dynamic library no-debug-non-zts", you can refer this thread that might help you to resolve this issue; PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non-zts
    0
  • Bidi
    Hi, From logs, I could see many PHP warnings "Unable to load dynamic library no-debug-non-zts", you can refer this thread that might help you to resolve this issue; PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non-zts

    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
    0
  • Muhammed Fasal
    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.
    0
  • Bidi
    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.

    I do have home modules there
    0
  • Muhammed Fasal
    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: php --ini | grep "Loaded Configuration File" Loaded Configuration File: /opt/cpanel/ea-php56/root/etc/php.ini
    Once it is done, check for the extension_dir entry on php.ini file. grep extension_dir /opt/cpanel/ea-php56/root/etc/php.ini
    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.
    0
  • Bidi
    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 ~]#
    0
  • Muhammed Fasal
    Have you checked the custom php.ini file for those domains? if any.
    0
  • Bidi
    Hi, Also, please check if you are using any custom php.ini for the domains.

    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 ?"
    0
  • Muhammed Fasal
    Hi,
    is there a way to be able to "not allow the customers to use custom php.ini file ?"

    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
    0
  • cPanelRyland
    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?
    0

Please sign in to leave a comment.