First install the below library to make compatible with pecl
sudo apt install php-dev php-pear autoconf zlib1g-dev
Now install the grpc using pecl with below command
sudo pecl install grpc
Now open your php.ini file and add the below line any where
extension=grpc.so
Now restart your web server if required.
For more details visit the below links:
GRPC Install Steps
Top comments (0)