标签:
编译安装
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扩展
标签:
原文地址:http://www.cnblogs.com/linzhenjie/p/5485457.html