以下の内容はhttps://takafumi-s.hatenablog.com/entry/2015/03/12/234537より取得しました。


CentOS7.0にyumでPHP5.6をインストール

環境   CentOS 7.0 PHP 5.6

ソースインストールに比べると、グッと簡単。
CentOS7にPHP5.6をソースからインストール - takafumi blog

epelとremiのリポジトリを登録しておく。

# epel 
# CeontOS7は標準リポジトリにepelリポジトリがある。
$ yum install epel-release
# remi
$ wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm -O /tmp/remi-release-7.rpm
$ rpm -Uvh /tmp/remi-release-7.rpm

php5.6をインストール

$ yum install --enablerepo=remi --enablerepo=remi-php56 --enablerepo=epel php php-opcache php-devel php-mbstring php-mcrypt 
$ yum install --enablerepo=remi --enablerepo=remi-php56 --enablerepo=epel php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof

以上。
yumで管理できるので大変、楽。
ただpthreadは使えない。




以上の内容はhttps://takafumi-s.hatenablog.com/entry/2015/03/12/234537より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14