[solved] [fixed] Unable to load dynamic library ‘/usr/lib/php5/20090626/suhosin.so’

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.

 

to fix this

STEP 1

Connect the repository:
wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh

 

STEP 2

 

yum –enablerepo=webtatic install php-suho*

 

that’s it

restart http

 

sample output

Dependencies Resolved

==================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================
Installing:
php-suhosin i386 0.9.32.1-1.w5 webtatic 79 k

Transaction Summary
==================================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 79 k
Is this ok [y/N]: y
Downloading Packages:
php-suhosin-0.9.32.1-1.w5.i386.rpm | 79 kB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-suhosin 1/1
warning: /etc/php.d/suhosin.ini created as /etc/php.d/suhosin.ini.rpmnew

Installed:
php-suhosin.i386 0:0.9.32.1-1.w5