CentOS-7-install-php7

#http://rpms.remirepo.net/
#CentOS 7
yum search php
yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm
#install php71
yum install -y php71-php-fpm php71-php-mysql php71-php-gd php71-php-pdo php71-php-xml php71-php-mbstring php71-php-zip php71-php-mysqlnd php71-php-pdo-dblib.x86_64
yum install nginx -y

chown -R nginx:nginx /var/opt/remi/php71/lib/php/
systemctl start php71-php-fpm
systemctl enable php71-php-fpm

#install php73
yum install -y php73-php-fpm php73-php-mysql php73-php-gd php73-php-pdo php73-php-xml php73-php-mbstring php73-php-zip php73-php-mysqlnd php73-php-pdo-dblib.x86_64
chown -R nginx:nginx /var/opt/remi/php73/lib/php/
yum install nginx -y

systemctl status php71-php-fpm
systemctl status php73-php-fpm