Installing PECL :
sudo apt-get install autoconf zlib1g-dev php-dev php-pear
Installing Composer ( skip if already installed ) :
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composerInstalling extension php grcp :
sudo pecl install grpc
Edit your
php.ini
in/etc/php/{7.4 or 8.0 or other php version }/cli/php.ini
and addextension=grpc.so
Good luck
Top comments (0)