First, install the YAF
1. Download
wget http://pecl.php.net/get/yaf-3.0.7.tgz
2. Unzip the installation
Tar zxf yaf-3.0.7.tgz
CD yaf-3.0.7 && phpize
./configure--with-php-config=/usr/local/php/bin/php-config
Make && make install
Second, installation Yar
1. Download
wget http://pecl.php.net/get/yar-2.0.4.tgz
2. Unzip the installation
Tar zxf yar-2.0.4.tgz
CD yar-2.0.4 && phpize
./configure--with-php-config=/usr/local/php/bin/php-config
Make && make install
Three, install Msgpack
1. Download
wget http://pecl.php.net/get/msgpack-2.0.2.tgz
2. Unzip the installation
Tar zxf msgpack-2.0.2.tgz
CD msgpack-2.0.2&& Phpize
./configure--with-php-config=/usr/local/php/bin/php-config
Make && make install
Iv. installation of AMQP (requires installation of rabbitmq-c first)
1. Download
wget http://pecl.php.net/get/amqp-1.9.3.tgz
2. Unzip the installation
Tar zxf amqp-1.9.3.tgz
CD amqp-1.9.3
Phpize
./configure--with-php-config=/usr/local/php/bin/php-config--WITH-AMQP--with-librabbitmq-dir=/usr/local/ rabbitmq-c/
Make && make install
Five, installing Redis
1. Download
wget http://pecl.php.net/get/redis-4.0.2.tgz
2. Unzip the installation
Tar zvxf redis-4.0.2.tgz
CD redis-4.0.2 && phpize
./configure--with-php-config=/usr/local/php/bin/php-config
Make && make install
Six, install: PHP imagick Plugin
Installation dependencies:
Yum install-y ImageMagick Imagemagick-devel
Download:
Http://pecl.php.net/get/imagick-3.4.3.tgz
2. Unzip the installation
Tar zvxf imagick-3.4.3.tgz
CD imagick-3.4.3
Phpize
./configure--with-php-config=/usr/local/php/bin/php-config
Make && make install
Six, add expansion plug-in configuration
#vim/usr/local/php/etc/php.ini
Extension=yaf.so
yaf.environ= ' Zaibei '
#yaf. environ= ' Dev '
Yaf.use_namespace=1
Extension=msgpack.so
Extension=yar.so
Extension=redis.so
Extension=amqp.so
CentOS 7 LNMP Deployment-php Common plugins