Centos7安装php5.6并配置php-fpm协同工作

yum install epel-release

rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

yum install -y --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 php-fpm php-bcmath

service php-fpm start

service php-fpm status

上一篇:centos lamp笔记


下一篇:Linux Centos7.4 下安装 LAMP环境及配置(php5.6,mysql5.7)