rohit09

Well-Known Member
Dec 10, 2010
61
0
56
Code:
[18-Sep-2013 13:57:12 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:12 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:15 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:15 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:18 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:18 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:23 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:23 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:31 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:57:31 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:58:11 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[18-Sep-2013 13:58:11 Europe/Moscow] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
how to fix it?
 

24x7server

Well-Known Member
Apr 17, 2013
1,907
95
78
India
cPanel Access Level
Root Administrator
Hello,

[18-Sep-2013 13:57:12 Europe/Moscow] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
To fix above error reinstall suhosin modules on your server through following command

Code:
/scripts/phpextensionmgr install PHPSuHosin

[18-Sep-2013 13:57:12 Europe/Moscow] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0

And for the above error install SourceGuardian on your server

Code:
/scripts/phpextensionmgr install SourceGuardian
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Maybe those errors could be caused by a local php.ini file, where "extension_dir" is incorrect.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

We will likely need more information in order to provide an accurate resolution. For instance, are you receiving those warning messages on a specific account, or across multiple accounts? What version of PHP is installed on your system? Have you installed Suhosin and SourceGuardian?

Thank you.
 

rs-freddo

Well-Known Member
May 13, 2003
834
1
168
Australia
cPanel Access Level
Root Administrator
I have the same php error....
tried:
/scripts/phpextensionmgr install PHPSuHosin
and it failed with:
/home/cpeasyapache/phpextensions/suhosin/suhosin-0.9.33/suhosin.c:649: error: âstruct _php_core_globalsâ has no member named âmagic_quotes_gpcâ

I'm running php 5.4 (and cagefs) - which i believe does not have magic_quotes... I don't enable magix quotes anyway, haven't used them in years.

PHP built dec 25 using easyapache. Enabled suhosin in easyapache, however looking at php sysinfo shows no suhosin.

Error is for all accounts.

Just checked easyapache and one cannot compile suhosin into apache 2.4 and php5.4 - there is no suhosin option. So i guess this is a remnant from apache 2.2 and php5.3. I checked php.ini and its not listed there. So where to look now...?

Any help appreciated...
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Just checked easyapache and one cannot compile suhosin into apache 2.4 and php5.4 - there is no suhosin option. So i guess this is a remnant from apache 2.2 and php5.3. I checked php.ini and its not listed there. So where to look now...?
Check to see if there are individual php.ini files within the accounts with references to Suhosin. Also, ensure you restart Apache after any modifications to the default /usr/local/lib/php.ini file.

Thank you.
 

rs-freddo

Well-Known Member
May 13, 2003
834
1
168
Australia
cPanel Access Level
Root Administrator
Thanks Michael - problem fixed.

suhosin.so was in php.ini - after a more careful check i did find it and removed it. You may want to alert the easyapache crew that they need to remove suhosin.so from the extension list when moving from apache 2.2 to 2.4...

Once php.ini was fixed i needed to restart apache and then issue cagefsctl --force-update. The update skeleton link in cagefs plugin does not work correctly (read "at all"), you must issue the command from the command line.

Hope this helps somebody else. :D