Configuring the Yum Source
Additional CentOS 6.5 Epel and Remi sources are added.
# 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
The following is the source for CentOS 7.0.
# yum Install epel-release# RPM-IVH http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
Use the Yum List command to view the installable packages (Packege).
# Yum List--enablerepo=remi--enablerepo=remi-php56 | grep php
Installing PHP5.6
The Yum source is configured, and the next step is to install PHP5.6.
# 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
Use the PHP command to view the version.
# php--versionphp 5.6.0 (CLI) (Built:sep 3 19:51:31) Copyright (c) 1997-2014 the PHP groupzend Engine v2.6.0, Co Pyright (c) 1998-2014 Zend Technologies with Zend opcache V7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
The version installed here is PHP5.6.0, and attentive users may have found Zendguardloader into Zend Opcahe.
The PHP code cache starting from PHP5.5 became the Zend Opcache from APC.
Installing php5.6 on CentOS