skip to Main Content

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?

2

Answers


  1. 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.

    Login or Signup to reply.
  2. There is manually compiled version for PHP 8.2

    I hope, if more people ask author compile new version, we can get nesessary library

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search