linux yum安装 php7.2

yum -y remove php*
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install php72w php72w-cli php72w-common 
php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring 
php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml

你可能感兴趣的:(linux yum安装 php7.2)