diff options
author | 2015-08-28 09:53:16 -0700 | |
---|---|---|
committer | 2015-08-28 15:51:18 -0700 | |
commit | 7b773e94819d73433a7d2e4b961fade4e37c6814 (patch) | |
tree | 0baa4a5a4b6acb3e7d68228461787ac820ff0cc7 /src | |
parent | 036bf58b281e4ff65ccc62ea68002a50ddb626cc (diff) |
php: update readme;
Diffstat (limited to 'src')
-rw-r--r-- | src/php/README.md | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/php/README.md b/src/php/README.md index f432935fde..0892816137 100644 --- a/src/php/README.md +++ b/src/php/README.md @@ -73,29 +73,24 @@ This will download and run the [gRPC install script][] and compile the gRPC PHP Clone this repository -``` +```sh $ git clone https://github.com/grpc/grpc.git ``` -Build and install the Protocol Buffers compiler (protoc) +Build and install the gRPC C core libraries -``` +```sh $ cd grpc $ git pull --recurse-submodules && git submodule update --init --recursive -$ cd third_party/protobuf -$ ./autogen.sh -$ ./configure $ make -$ make check $ sudo make install ``` -Build and install the gRPC C core libraries +Note: you may encounter a warning about the Protobuf compiler `protoc` 3.0.0+ not being installed. The following might help, and will be useful later on when we need to compile the `protoc-gen-php` tool. ```sh -$ cd grpc -$ make -$ sudo make install +$ cd grpc/third_party/protobuf +$ sudo make install # 'make' should have been run by core grpc ``` Install the gRPC PHP extension |