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
More than 5 years have passed since last update.
CentOS-6.7にリポジトリを追加してPHP-5.6をインストールしたメモ
Last updated at Posted at 2015-11-16
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme