在centos7上yum安装php7.1

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

yum -y install php71w-cli php71w-devel php71w-fpm php71w-gd php71w-mbstring php71w-mcrypt php71w-mysql php71w-opcache php71w-pdo php71w-pecl-imagick-devel php71w-pecl-memcached php71w-pgsql php71w-xmlrpc php71w-xml

 

坐等,完事