All HowTo's Linux Redhat, Fedora and CentOS Linux

Upgrade php-fpm to version 7 on CentOS 7

This article demonstrates how to upgrade php-fpm to 7.0.

This information is based on “https://webtatic.com/packages/php70/”.

Get the repositories ready:

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

Do the upgrade:

yum install yum-plugin-replace
yum replace php-common --replace-with=php70w-common

Confirm your work:

php -v

Leave a Reply

Your email address will not be published. Required fields are marked *