PHP: Unable to load dynamic library suhosin.so in Debian sid
When you install php5 in Debian sid, you'll get following warning after updating.
After searching on google, I got the answer from Debian bug mailing list.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/And you will get a punch of annoying system mail. Orzsuhosin.so' - /usr/lib/php5/20100525/ suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
After searching on google, I got the answer from Debian bug mailing list.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668739The problem is the suhosin was obsoleted in Debian sid and it will be remove after system upgrading. But its configuration still exist in /etc/php5/conf.d.
shawn:/usr/lib/php5$ dpkg --list | grep php5 | moreAll you have to do is run following command and then fix it.
ii libapache2-mod-php5 5.4.4-14 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php5 5.4.4-14 all server-side, HTML-embedded scripting language (metapackage)
ii php5-cli 5.4.4-14 amd64 command-line interpreter for the php5 scripting language
ii php5-common 5.4.4-14 amd64 Common files for packages built from the php5 source
ii php5-gd 5.4.4-14 amd64 GD module for php5
rc php5-suhosin 0.9.32.1-1 amd64 advanced protection module for php5
shawn:~$ sudo dpkg -P php5-suhosinEnjoy it. :-)
(Reading database ... 36672 files and directories currently installed.)
Removing php5-suhosin ...
Purging configuration files for php5-suhosin ...
Processing triggers for libapache2-mod-php5 ...
Reloading web server config: apache2.
Comments
Post a Comment