windows下,安装grpc记录,编译grpc_php_plugin.exe

环境:Windows 11;

php环境:php8.3.24(选择你自己支持的php版本)

使用工具:网站环境(flyenv,原phpwebstudy)

1、在gitee下载GRPC 镜像git clone https://gitee.com/mirrors/grpc.git
2、cd grpc/third_party:手动下载第三方插件,由于国内网络问题,最好是手动下载,否则很难成功!
     
3、使用git submodule status,看三方组件状态,如前缀无-,则注册成功,如果有-且你已经下载了,那么你需要使用命令:
git submodule update --init third_party/zlib 这个zlib就是三方组件的模块;手动下载就需要一个一个注册;

PS:第三步最好放到下面下载完成后再去操作!


cd grpc需要复制:third_party/XXX地址,cd grpc/third_party 只需要复制git地址
以下是使用 git clone 命令搭配 Gitee 镜像地址的完整列表,每个仓库对应独立的克隆命令(注意复制时要将 third_party/abseil-cpp同时复制):
git clone https://gitee.com/mirrors/abseil-cpp.git third_party/abseil-cpp
git clone https://gitee.com/mirrors/google-benchmark.git third_party/benchmark
git clone https://gitee.com/mirrors_google/bloaty.git third_party/bloaty
git clone https://gitee.com/mirrors/boringssl.git third_party/boringssl-with-bazel
git clone https://gitee.com/mirrors/c-ares.git third_party/cares/cares

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值