Bug#668739: PHP: Unable to load dynamic library suhosin.so
After upgrading to wheezy, PHP will produce error like this (in web
server's log, on PHP command line, in mail from Cron Daemon...),
if php5-suhosin was installed in squeeze before the upgrade.
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20100525+lfs/suhosin.so' -
> /usr/lib/php5/20100525+lfs/suhosin.so: cannot open shared object file:
> No such file or directory in Unknown on line 0
Reason why it happen:
php5-suhosin depends on an obsolete version of phpapi-20090626+lfs
so php5-suhosin is removed during the upgrade... but the PHP config
snippet /etc/php5/conf.d/suhosin.ini isn't purged... so PHP still
try to load the module suhosin.so.
The release notes should document that the user should:
dpkg -P php5-suhosin
P.S. php5-suhosin seems to still being work on in unstable.
if it is reintroduced in testing it's likely to solve the problem.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (101, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash