系统相关
首页 > 系统相关> > centos yum 安装php5.6

centos yum 安装php5.6

作者:互联网

配置源

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
yum install epel-release
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
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 -y
php --version

标签:epel,php,http,centos,remi,yum,release,php5.6,rpm
来源: https://www.cnblogs.com/fishmao/p/10425848.html