Centos7 PHP7.1安装

  1. rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

  2. rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

  3. yum install php70w php70w-mysql php70w-mbstring php70w-mcrypt php70w-gd php70w-imap php70w-ldap php70w-odbc php70w-pear php70w-xml php70w-xmlrpc php70w-pdo

参考地址:https://webtatic.com/packages/php71/
删除PHP模块 yum remove php* php-common

你可能感兴趣的:(Centos7 PHP7.1安装)