How to Install PHP 7.x on CentOS 7

Setup the Webtatic YUM repo

Setup the Webtatic YUM repo:

rpm -Uvh
rpm -Uvh

Install PHP 7.1 with extensions

Install PHP 7.1 and some of the most commonly used extensions:

yum install mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml

Last Modified: January 02 2018 10:46:05