Protocol “https“ not supported or disabled in libcurl

现在凌晨2:13,我是从早上9点开始解决问题的,这个问题出现微信开发引出的。

最后问题出在PHP curl配置上。php curl 扩展不支持https,如何将ssl=>no装换为yes?

Composer update 报错: Protocol “https“ not supported or disabled in libcurl

php代码运行也报错: Protocol “https“ not supported or disabled in libcurl

开始排查问题:

1.openssl,如果没有安装openssl请百度安装

openssl version -a

2.curl

$ curl -V
curl 7.77.0 (x86_64-apple-darwin19.6.0) libcurl/7.77.0 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 libidn2/2.3.0 nghttp2/1.41.0 librtmp/2.3
Release-Date: 2021-05-26
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp 
Features: alt-svc A
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

沙漠中海

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值