diff options
author | Stanley Cheung <stanleycheung@google.com> | 2016-03-07 17:10:07 -0800 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2016-03-07 17:10:07 -0800 |
commit | a41a6775d4487cce3eea5084928da39ceff923fd (patch) | |
tree | 21fbf518c4521b59cabf249379fa79e55f9c8d9f /examples | |
parent | 9b9c40cfe8aab8699cc446087313af9059e8db3a (diff) |
php: update readme
Diffstat (limited to 'examples')
-rw-r--r-- | examples/php/README.md | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/php/README.md b/examples/php/README.md index 8fb060863a..ea9ccb6790 100644 --- a/examples/php/README.md +++ b/examples/php/README.md @@ -4,16 +4,15 @@ gRPC in 3 minutes (PHP) PREREQUISITES ------------- -This requires PHP 5.5 or greater. +This requires `php` >=5.5, `phpize`, `pecl`, `phpunit` INSTALL ------- - - On Mac OS X, install [homebrew][]. Run the following command to install gRPC. + - Install the gRPC PHP extension ```sh - $ curl -fsSL https://goo.gl/getgrpc | bash -s php + $ [sudo] pecl install grpc-beta ``` - This will download and run the [gRPC install script][] and compile the gRPC PHP extension. - Clone this repository @@ -37,6 +36,7 @@ TRY IT! Please follow the instruction in [Node][] to run the server ``` $ cd examples/node + $ npm install $ nodejs greeter_server.js ``` @@ -58,7 +58,5 @@ TUTORIAL You can find a more detailed tutorial in [gRPC Basics: PHP][] -[homebrew]:http://brew.sh -[gRPC install script]:https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install [Node]:https://github.com/grpc/grpc/tree/master/examples/node [gRPC Basics: PHP]:http://www.grpc.io/docs/tutorials/basic/php.html |