且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为 Windows 安装 Composer - 无法找到包装器“https"

更新时间:2022-12-08 10:52:10

听起来你的安装没有启用 openssl.

This sounds like your installation hasn't got openssl enabled.

找到您的 php.ini 文件(在 Windows 上,这可能与 php.exe (c:php在我的机器上).

Locate your php.ini file (on Windows this is probably in the same place as the php.exe (c:php on my machine).

在您喜欢的编辑器中打开它,然后找到该行

Open it in your favourite editor, and locate the line

;extension=php_openssl.dll

去掉分号

extension=php_openssl.dll

HTTPS 现在应该可以在 php 中为您工作了.

HTTPS should now work for you from within php.