Last active
April 19, 2022 19:19
-
-
Save idokd/2debd77752e096306eb940c86bdbd27e to your computer and use it in GitHub Desktop.
Install gRPC for PHP on ddev docker image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ddev ssh | |
| sudo apt-get install build-essential autoconf zlib1g-dev php-dev php-pear | |
| sudo pecl channel-update pecl.php.net | |
| sudo pecl install grpc | |
| # Add this to php.ini | |
| #extension=grpc.so | |
| #echo "extension=grpc.so" > /etc/php/8.0/cli/conf.d/20-grpc.ini | |
| #composer require "grpc/grpc" | |
| sudo pecl install protobuf | |
| # Add this to php.ini | |
| #extension=protobuf.so | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment