php的安装

 

yum install epel-release
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum list --enablerepo=remi --enablerepo=remi-php56 | grep php
yum list --enablerepo=remi --enablerepo=remi-php56 | grep php56
yum list --enablerepo=remi --enablerepo=remi-php56 | grep php56w-fpm

yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof

 

单独安装模块

yum install --enablerepo=remi --enablerepo=remi-php56 php-gd

 

posted @ 2016-12-01 19:34  rcj_飞翔  阅读(137)  评论(0编辑  收藏  举报