How To Upgrade to PHP 7 on CentOS 7

Upgrade to PHP 7 Since PHP 7.x is not yet packaged in official repositories for the major distributions, we’ll have to rely on a third-party source. Several repositories offer PHP 7 RPM files. We’ll use the IUS repository. IUS offers an installation script for subscribing to their repository and importing associated GPG keys. Make sure you’re in your home directory, and retrieve the script using curl: # cd ~ # curl ‘https://setup.ius.io/’ -o setup-ius.sh Run the script: # bash setup-ius.sh Upgrading mod_php with Apache This section describes the upgrade process…

GET more here