下载
下载地址:https://github.com/allegro/php-protobuf/releases
安装
进入解压后的文件夹,依次执行
phpize
./configure
make && make install
修改php.ini 文件
打开php.ini , 添加 extension=protobuf.so
下载地址:https://github.com/allegro/php-protobuf/releases
进入解压后的文件夹,依次执行
phpize
./configure
make && make install
打开php.ini , 添加 extension=protobuf.so