CentOS-6.7にリポジトリを追加してPHP-5.6をインストールしたメモ



cat /etc/redhat-release
CentOS release 6.7 (Final)

rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-11.ius.el6.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

yum erase php*

yum install --enablerepo=remi  \
            --enablerepo=remi-php56  \
            php  \
            php-opcache  \
            php-devel  \
            php-mbstring  \
            php-mcrypt  \
            php-mysqlnd  \
            php-pgsql \
            php-phpunit-PHPUnit  \
            php-pecl-xdebug  \
            php-pecl-xhprof