Sentora Support Forums

Full Version: Centos 7 clean update to PHP 5.5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

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
Likely you are missing some php libs like IMAP ( required for round cube).
(10-27-2015, 12:02 AM)Me.B Wrote: [ -> ]Likely you are missing some php libs like IMAP ( required for round cube).

Nope working normally.
Hi how to enable or install SOAP
I have this problem after update to php 5.5.33:
Error: php55w-common conflicts with php-common-5.4.16-36.el7_1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Thank you very much.