Php扩展--protocolbuffers消息打包

安装/配置

编译安装

wge thttp://pecl.php.net/get/protocolbuffers-0.2.6.tgz
tar -zxvfprotocolbuffers-0.2.6.tgz
cd protocolbuffers-0.2.6/
/usr/local/php-5.3.3/bin/phpize
./configure --with-php-config=/usr/local/php-5.3.3/bin/php-config
make
make install

修改php.ini文件

[protocolbuffers]
extension=protocolbuffers.so

以上完成后重启apache,可以看到protocolbuffers扩展





posted @ 2016-05-12 14:04  linzj  阅读(550)  评论(0编辑  收藏  举报