首页 > 系统服务 > 详细

ubuntu 安装yar

时间:2015-02-06 23:01:09      阅读:413      评论:0      收藏:0      [点我收藏+]

可能你的安装 会出现一些依赖  一般可能是  缺少 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

ubuntu 安装yar

原文:http://www.cnblogs.com/Sven-w/p/4278145.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!