yum 安装php高版本

1.下载Remi,指定源安装,查看版本

yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

yum --enablerepo=remi,remi-php56 install php-fpm php-common php-devel php-mysqlnd php-mbstring php-mcrypt

php -v

service php-fpm sta

 

posted @ 2017-07-26 13:56  sunmmi  阅读(360)  评论(0)    收藏  举报