Hello everyone, what is the safest and fastest way to install gRPC and Sodium in PHP 7.4
Doxec Hello, there is no fastest way, you have to compile and install this extension
aapanel_power can you explain how do that ? because in my head i must do insttal the grpc with pecl install
aaP_tonimarkunya Hello, you can also use phpize to install
cd /tmp wget http://pecl.php.net/get/grpc-1.30.0.tgz tar xvf grpc-1.30.0.tgz cd grpc-1.30.0 /www/server/php/74/bin/phpize ./configure --with-php-config=/www/server/php/74/bin/php-config make && make install
aaPanel_Kern thannks a lot , its work
Hello aaPanel_Kern
previously on php 7.4 your step its work, but i want to upgrade my phpversion to 8.1 and try your step before buts errorr on : configure: error: in `/tmp/grpc-1.51.1': configure: error: C++ preprocessor "/lib/cpp" fails sanity check
my distro centos 7.x
aaP_tonimarkunya Hello, install the dependencies manually and try again yum install glibc-headers gcc-c++
yum install glibc-headers gcc-c++