This is my first time using VPS Server I'm hosting a Laravel website, And I need PHP gRPC extension.
Server details:
hosting from: Hostinger VPS
OS: CentOS 7
control panel: CyberPanel 2.3
using server SSH I have installed gRPC on PHP81, but the website uses different PHP, I have to select the PHP version in the CyberPanal control panel for each Website, There is a PHP setting on CyberPanal but there are only 41 extensions I can install and uninstall using PHP81, I cannot add another extension.
I have tried installing using
sudo yum install lsphp81-pecl-grpc
result
Loading mirror speeds from cached hostfile
* base: mirror.centos.iad1.serverforge.org
* epel: atl.mirrors.knownhost.com
* extras: mirror.atl.genesisadaptive.com
* remi-php81: mirror.pit.teraswitch.com
* updates: mirrors.wcupa.edu
10 packages excluded due to repository priority protections
No package lsphp81-pecl-grpc available.
Error: Nothing to do
in CLI there is gRPC using php -m
but in website using phpinfo();
there is no gRPC
Is there any way I can add gRPC