Open langgo opened 8 years ago
try to install Protobuf via:
pecl install Protobuf-3.1.0a1
@langgo there are two ways to solve this issue:
first, use composer package:
{
"name": "grpc/grpc-idcn",
"description": "PHP",
"require": {
"google/protobuf": "v3.1.0-alpha-1",
"grpc/grpc": "v1.0.0"
}
}
add "google/protobuf": "v3.1.0-alpha-1",
in composer.json file
and then composer install
or composer updaate
second way: use Protobuf php extension
see details from https://github.com/google/protobuf/tree/master/php
when install Protobuf-PHP, I get :
how to resolve the problem?