标签:code mon repo 源安装 lin rem 资源 phpunit cache
推荐yum源安装:
#查看 删除老php版本的源 yum list installed | grep php yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 #添加CentOS 7.0的源 yum install epel-release rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm #追加CentOS 6.5的epel及remi源 rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm #查看php56的源资源 yum list --enablerepo=remi --enablerepo=remi-php56 | grep php #安装 yum install --enablerepo=remi --enablerepo=remi-php56 php php-fpm php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof
重启PHP:
service php-fpm restart
标签:code mon repo 源安装 lin rem 资源 phpunit cache
原文地址:https://www.cnblogs.com/csm21/p/11931348.html