[php-maint] [php5-suhosin] "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/suhosin.so' - /usr/lib/php5/20090626+lfs/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0" in Apache error log after uninstalling

Jan Wagner waja at cyconet.org
Wed Mar 10 10:22:40 UTC 2010


Hi there,

On Saturday, 27. February 2010, Filipus Klutiero wrote:
> When starting Apache after removing php5-suhosin, the following warning is
> written to error.log:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20090626+lfs/suhosin.so' -
> /usr/lib/php5/20090626+lfs/suhosin.so: cannot open shared object file: No
> such file or directory in Unknown on line 0
> [Sat Feb 27 17:13:12 2010] [notice] Apache/2.2.14 (Debian) PHP/5.3.1-5 with
> Suhosin-Patch configured -- resuming normal operations
> 
> The Unknown looks like another bug, but the culprit is suhosin.ini, which
> contains
> 
> extension=suhosin.so
> 
> When php5-suhosin is removed without being purged, that line is
> problematic. Apache modules don't have this problem since their
> configuration file (.conf) is different from the file enabling them
> (.load).

is there any proper way to fix that? The config file should keeped there until 
the package is purged. Modifying the config on remove (like php5-memcache 
does) is a policy violation. Any suggestions? :)

Thanks and with kind regards, Jan.
P.S. please cc for this thread!
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ 
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20100310/b862e312/attachment.pgp>


More information about the pkg-php-maint mailing list