msgpack安装
wget http://pecl.php.net/get/msgpack-2.0.3.tgz
tar -xzvf msgpack-2.0.3.tgz
cd msgpack-2.0.3
phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
yar获取
wget http://pecl.php.net/get/yar-2.0.5.tgz
tar -xzvf yar-2.0.5.tgz
cd yar-2.0.5
phpize
./configure --enable-msgpack --with-php-config=/usr/local/php/bin/php-config
make && make install
find / -name php.ini
vi /usr/local/php/etc/php.ini
extension=yar.so 拓展添加