如何在 Windows 上获取 PHP 的 gRPC DLL

问题描述 投票:0回答:1

我在 Windows 上有 PHP 8.3.1。我需要这个版本的 gRPC DLL。但我只能找到 PHP 到 8.1 的 gRPC:https://pecl.php.net/package/gRPC/1.43.0/windows

这是 gRPC 1.43.0。

我用 PHP 8.3.1 尝试了这个版本的 gRPC (1.43.0),并在运行时得到以下信息

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

如何在 Windows 上获取适用于 PHP 8.3.1 的 gRPC DLL?

php grpc
1个回答
0
投票

在主网站上,有一个注释:https://windows.php.net/

缺少 PECL DLL

您可能已经注意到,新 PECL 版本的 DLL 在几个月内不再可用。这是因为 Windows PECL 构建机器死机了,团队仍在制定使用新的 CI 流程为 PECL 扩展构建 DLL 的长期计划。我们正在尽最大努力尽快完成该工作,并让您了解最新情况。

基本上,在完成此过程之前,您不会拥有任何最近的 DLL。

© www.soinside.com 2019 - 2024. All rights reserved.