admin管理员组

文章数量:1640612

现在凌晨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

本文标签: HTTPSprotocolsupportedlibcurldisabled