This tutorial shows you how to install PHP 7 on CentOS 7.
This tutorial is on an CentOS 7 machine but the commands will also work on Redhat (RHEL) 7.
The commands that you need to follow along with this tutorial are:
- sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
- sudo yum install php70w
- sudo yum install php70w-pdo