Install PHP 7 on CentOS 7 - Linuxize
https://linuxize.com/post/install-php-7-on-centos-715.03.2018 · The following steps describe how to install PHP 7.2 CentOS 7. First enable the PHP 7.2 Remi repository by running the following command: sudo yum-config-manager --enable remi-php72; Once the repository is enabled install PHP 7.2 and few most common PHP modules: sudo yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd