LoginSignup
7
7

More than 5 years have passed since last update.

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

Last updated at Posted at 2015-11-16

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
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7