diff --git a/docs/quickstart/php.md b/docs/quickstart/php.md index 3595e820..f8e99c78 100644 --- a/docs/quickstart/php.md +++ b/docs/quickstart/php.md @@ -46,7 +46,10 @@ $ sudo yum install php56w php56w-devel php-pear phpunit gcc zlib-devel **Install PHP and PECL on Mac:** ```sh -$ brew install homebrew/php/php56-grpc +$ brew install homebrew/homebrew-core/php@7.1 +$ echo 'export PATH="/usr/local/opt/php@7.1/bin:$PATH"' >> ~/.zshrc +$ echo 'export PATH="/usr/local/opt/php@7.1/sbin:$PATH"' >> ~/.zshrc +$ source ~/.zshrc $ curl -O http://pear.php.net/go-pear.phar $ sudo php -d detect_unicode=0 go-pear.phar ```