greencom.com.tw update php7.2

# yum install epel-release

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

## Install PHP 7.3 
yum --enablerepo=remi-php73 install php

## Install PHP 7.2 
yum --enablerepo=remi-php72 install php

## Install PHP 7.1 
yum --enablerepo=remi-php71 install php

we are upgrade to 7.2

# yum --enablerepo=remi-php72 install php

# php -v

yum --enablerepo=remi-php72 install php-xml php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt php-devel php-embedded  php-fpm  php-ldap php-mysqlnd php-opcache php-pdo 

 

 

https://tecadmin.net/nstall-php7-on-centos6/

Tags