centos安装php7
https://webtatic.com/packages/php71/
# centos6
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
# centos7
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
https://webtatic.com/packages/php71/
# centos6
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
# centos7
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm