当我尝试使用composer require guzzlehttp/guzzle
安装guzzle时,出现以下错误消息:
您正在运行禁用SSL / TLS保护的Composer。 无法下载“ https://repo.packagist.org/packages.json”文件: https://repo.packagist.org无法完全加载,软件包信息是从本地缓存加载的,可能已过期
无法下载“ https://repo.packagist.org/packages.json”文件: https://repo.packagist.org无法完全加载,软件包信息是从本地缓存加载的,可能已过期
[Composer\Downloader\TransportException]
The "https://passthrough.fw-notify.net/static/auth_transparent.html?return=http://repo.packagist.org/p/guzzlehttp/guzzle%24b1cfe2f977a75ca671f5b311f8d4163989b8b742599dcfee07d767f01c8cd0e5.json" file could not be downloaded: SSL operation failed with code 1. Op
enSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
我试图删除extension=openssl
文件中php.ini
之前的分号。移除后会抛出:
PHP警告:模块'openssl'已在第0行的Unknown中加载
PHP警告:模块'openssl'已在第0行的Unknown中加载