Centos 7 clean update to PHP 5.5
#1
Centos 7 clean update to PHP 5.5
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
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
#2
RE: Centos 7 clean update to PHP 5.5
Likely you are missing some php libs like IMAP ( required for round cube).
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Centos 7 clean update to PHP 5.5
(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.
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
#4
RE: Centos 7 clean update to PHP 5.5
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Fail2ban for Sentora (Centos 7) bbspike 14 55 ,757 01-14-2020, 07:32 AM
Last Post: Vedran B
Update to PHP 7.1.2 with success! julinhobrow 5 27 ,441 09-06-2019, 02:11 PM
Last Post: gerzok
[How To] Update from PHP v5.4.16 to v5.6.31 (Includes suhosin patch) [CentOS] betatester3.0 5 22 ,357 03-18-2019, 01:23 AM
Last Post: BigBang

Forum Jump:


Users browsing this thread: 1 Guest(s)