Unable to load dynamic library error

Bidi

Well-Known Member
Oct 3, 2012
100
6
68
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
 

HostingH

Well-Known Member
Jan 13, 2008
125
17
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.
 
  • Like
Reactions: Shushant

Bidi

Well-Known Member
Oct 3, 2012
100
6
68
Romania, Transilvania
cPanel Access Level
DataCenter Provider
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
 

Muhammed Fasal

Well-Known Member
Aug 9, 2017
54
10
8
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:

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.
 

Bidi

Well-Known Member
Oct 3, 2012
100
6
68
Romania, Transilvania
cPanel Access Level
DataCenter Provider
Hy, i got this.

[[email protected] ~]# php --ini | grep "Loaded Configuration File"
Loaded Configuration File: /opt/cpanel/ea-php56/root/etc/php.ini
[[email protected] ~]# grep extension_dir /opt/cpanel/ea-php56/root/etc/php.ini
; extension_dir = "./"
; extension_dir = "ext"
;sqlite3.extension_dir =
[[email protected] ~]#
 

cPanelRyland

cPanel Technical Analyst
Staff member
Oct 4, 2017
23
2
78
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?