Unable to load dynamic library '/usr/lib64/php/modules/suhosin.so

Sejak melakukan upgrade ke PHP 5.6.4 baru beberapa minggu baru terasa adanya modul yang tidak kompatibel. Seperti httpd tidak dapat running, sehingga website benar-benar tidak dapat diakses. Setelah penelurusan cukup lama ternyata ada masalah pada modul suhosin.so

Alur pengecekan:

apachectl restart
>>httpd not running, trying to start
php -v works

Muncullah notifikasi berikut:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/module                s/suhosin.so' - /usr/lib64/php/modules/suhosin.so: undefined symbol: php_checkui                d in Unknown on line 0
PHP 5.6.4 (cli) (built: Dec 17 2014 16:47:40)
Copyright © 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2014 Zend Technologies


You will need to compile AGAIN suhosin!

To do so:

Code:
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/archive/suhosin-0.9.37.zip
unzip -q suhosin.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.37
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
make install
cd ..
rm -rf suhosin-suhosin-0.9.37


so you will get:

Quote:PHP 5.6.4 (cli) (built: Dec 17 2014 16:47:40)
Copyright © 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2014 Zend Technologies
   with Suhosin v0.9.37-dev, Copyright © 2007-2014, by SektionEins GmbH


Notice updating PHP to 5.6 is updating mysql to 5.5 too... and could cause later big issues when centos push updates that would conflict with remi!


Who's Online

We have 26 guests and no members online