首页 > 代码库 > php的安装

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

 

php的安装