RE: How to install php 5.6 on centos 6/7 working 100%:
09-11-2016, 09:01 PM
(This post was last modified: 09-11-2016, 09:04 PM by Adiba.
Edit Reason: PHP Warning after version upgrade
)
For Godaddy Cloud Server:
If you get this Warning after php version upgrade...
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
Solve this problem using following Command:
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/a...0.9.37.zip
unzip -q suhosin-0.9.37.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.3
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
make install
cd ..
rm -rf suhosin-suhosin-0.9.37
Check Php Version : php -v
Output:
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
If you get this Warning after php version upgrade...
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
Solve this problem using following Command:
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/a...0.9.37.zip
unzip -q suhosin-0.9.37.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.3
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
make install
cd ..
rm -rf suhosin-suhosin-0.9.37
Check Php Version : php -v
Output:
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