标签:
可能你的安装 会出现一些依赖 一般可能是 缺少 m4 autoconf
鸟哥博客:http://www.laruence.com/2012/09/15/2779.html
安装yar 先安装msgpack
https://github.com/msgpack/msgpack-php
whichis phpize
比如我的在:/usr/local/php/bin/phpize
我的msgpack 位置在 /home/jshawcx/msgpack-php-master
安装yar
https://github.com/laruence/yar
我的yar位置在 /home/jshawcx/yar-1.2.4
cd /xxxx/xxx/msgpack-php-master
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
cd /xxx/xxx/yar-1.2.4
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make
make install
extension=msgpack.so
extension=yar.so
重启php-fpm 和nginx或apache
标签:
原文地址:http://www.cnblogs.com/Sven-w/p/4278145.html