After php5.6 is installed, you no longer need to install Zend Guard. Instead, you can use the yum command to install php-opcache and php-pecl-apcu, which can effectively improve the php execution speed.
1. Configure the yum source
Check whether the yum source link is valid.
# Rpm-Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# Rpm-Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
2. Confirm the installed php version.
# Yum list -- enablerepo = remi -- enablerepo = remi-php56 | grep php
3. Install php5.6
# Yum install -- enablerepo = remi -- enablerepo = remi-php56 php-opcache php-pecl-apcu php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl -xdebug php-pecl-xhprof php-pdo php-pear php-fpm php-cli php-xml php-bcmath php-process php-gd php-common
Php-opcache and php-pecl-apcu can effectively improve the php execution speed.
4. Confirm the php version
# Php-v
PHP 5.6.6 (cli) (built: Feb 19 2015 10:19:37)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
With Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
With Xdebug v2.3.1, Copyright (c) 2002-2015, by Derick Rethans