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

Posted peteremperor

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于Centos7安装php5.6并配置php-fpm协同工作的主要内容,如果未能解决你的问题,请参考以下文章