I tried to install gRPC on my Xampp server ( I follow this steps to install). I downloaded the gRPC 1.43.0 (PHP 8.1 Thread Safe (TS) x64).
My current PHP project running on PHP 8.2.0(CLI). When I run my PHP project after the installation, the error is as shown in the picture attached. Any reply highly appreciated. Thank you.
Console Error
I did try to restart my apache service, and try another DLL version but no luck. Error persist.
I expect the gRPC enabled and seen in my PHPInfo page.
Question posted in PHP Versions
You can find a list of all versions here.
You can find a list of all versions here.
2
Answers
please see this and this i think it’s going to help you to solve your problem
for php 8.2 in windows, I suggest search dll extension that are available on this forum https://www.apachelounge.com/viewtopic.php?p=42043 . just search for grpc and there will be zip for it along with other dll/extension. If you just need grpc, only extract php_grpc.dll in ext folder that are on zip. then copy paste it into yours ext folder of php, usually in /xampp/ext/php/ext if you’re using xampp. also edit yours php.ini and added
extension=grpc
.