diff options
author | Stanley Cheung <stanley.cheung@gmail.com> | 2016-03-01 11:59:35 -0800 |
---|---|---|
committer | Stanley Cheung <stanley.cheung@gmail.com> | 2016-03-01 11:59:35 -0800 |
commit | 7d974ea872f7f107e03d23a562c107d9cb633e4a (patch) | |
tree | 3b9cbb788d1ee4173942dfdd1fee17af639a892e /src | |
parent | 6963453c20055f5d4641447e6ae50d2fbffe0c97 (diff) | |
parent | a91a5db3630e0bdb673a5888de043cd56007a0ee (diff) |
Merge pull request #5488 from stanley-cheung/php-update-to-next-ver
Simplify PHP installation
Diffstat (limited to 'src')
-rw-r--r-- | src/php/README.md | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/php/README.md b/src/php/README.md index b1823b9226..b368482f06 100644 --- a/src/php/README.md +++ b/src/php/README.md @@ -33,45 +33,12 @@ $ sudo mv phpunit.phar /usr/local/bin/phpunit ## Quick Install -**Linux (Debian):** - -Add [Debian jessie-backports][] to your `sources.list` file. Example: - -```sh -echo "deb http://http.debian.net/debian jessie-backports main" | \ -sudo tee -a /etc/apt/sources.list -``` - -Install the gRPC Debian package - -```sh -sudo apt-get update -sudo apt-get install libgrpc-dev -``` - Install the gRPC PHP extension ```sh sudo pecl install grpc-beta ``` -**Mac OS X:** - -Install [homebrew][]. Example: - -```sh -ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -``` - -Install the gRPC core library and the PHP extension in one step - -```sh -$ curl -fsSL https://goo.gl/getgrpc | bash -s php -``` - -This will download and run the [gRPC install script][] and compile the gRPC PHP extension. - - ## Build from Source Clone this repository @@ -297,7 +264,4 @@ Connect to `localhost/math_client.php` in your browser, or run this from command $ curl localhost/math_client.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/src/node/examples -[Debian jessie-backports]:http://backports.debian.org/Instructions/ |