aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar LisaFC <lcarey@google.com>2016-03-08 16:25:52 +0000
committerGravatar LisaFC <lcarey@google.com>2016-03-08 16:25:52 +0000
commit119fd387dbe8f529ff91ef2d2a6ef57eff798534 (patch)
treed129b409bce58a7a29311529d66d6f5798637bf5 /examples
parentf37db9f0834c14535a98155410786c9f9daa879c (diff)
parenta2c8b20ac785d88e4df9bfe1a832e48173458c3e (diff)
Merge pull request #5632 from stanley-cheung/php-update-readme
Doc Fixit: PHP update readme
Diffstat (limited to 'examples')
-rw-r--r--examples/php/README.md10
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