Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get gRPC DLL for PHP on Windows

Tags:

php

grpc

I have PHP 8.3.1 on Windows. I need the gRPC DLL for this version. But I can only find gRPC for PHP up to 8.1: https://pecl.php.net/package/gRPC/1.43.0/windows

This is gRPC 1.43.0.

I tried this version of gRPC (1.43.0) with PHP 8.3.1 and got the following when I ran php -v

Warning: PHP Startup: grpc: Unable to initialize module
Module compiled with module API=20210902
PHP    compiled with module API=20230831
These options need to match
 in Unknown on line 0
PHP 8.3.1 (cli) (built: Dec 20 2023 14:06:10) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.3.1, Copyright (c) Zend Technologies

How can I get the gRPC DLL for PHP 8.3.1 on Windows?

like image 763
cja Avatar asked Oct 16 '25 20:10

cja


1 Answers

On the main website, there's a note: https://windows.php.net/

Missing PECL DLLs

You may have already noticed that DLLs for new PECL releases are no longer available for several months. This is because the Windows PECL build machine died, and the team is still working on the long term plan of building DLLs for PECL extensions with a new CI process. We're doing our best to finish that as soon as possible, and keep you up to date.

Basically, you won't have any recent DLLs until they're done with this process.

like image 190
maiorano84 Avatar answered Oct 19 '25 10:10

maiorano84



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!