Hi all,
I want to share my way of a clean update to php 5.5 for Centos 7:
Add RPM's:
Next install Yum replace plugin:
Lets replace PHP-Common with PHP55W-Common
PHP55W-Common is with Zend and Opcache
But of course we need to compile Suhosin! This code will install Suhosin 0.9.38:
Check everything with:
You should have:
I want to share my way of a clean update to php 5.5 for Centos 7:
Add RPM's:
Code:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Next install Yum replace plugin:
Code:
yum install yum-plugin-replace
Lets replace PHP-Common with PHP55W-Common
Code:
yum replace php-common --replace-with=php55w-common
PHP55W-Common is with Zend and Opcache
But of course we need to compile Suhosin! This code will install Suhosin 0.9.38:
Code:
cd /tmp
wget -nv -O suhosin.tar.gz https://download.suhosin.org/suhosin-0.9.38.tar.gz
tar -xvzf suhosin.tar.gz
rm -f suhosin.tar.gz
cd suhosin-0.9.38
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
make install
cd ..
rm -rf suhosin-0.9.38
Check everything with:
Code:
php -v
You should have:
Code:
PHP 5.5.29 (cli) (built: Sep 4 2015 06:04:49)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH