windows 8 中的作曲家设置

composer setup in windows 8

我正在尝试为 Windows 安装 Composer-Setup,但安装出错,无法继续

这个错误:

Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org Request to https://getcomposer.org/installer failed with errors: SSL: Handshake timed out. Failed to enable crypto. Failed to open stream: operation failed

我找到了解决方案:

确保 SSL 证书已安装并且可以被 PHP 找到。

php.ini中:

curl.cainfo=/path/to/ssl-certs/ca-bundle.crt
openssl.cafile=/path/to/ssl-certs/ca-bundle.crt

如果缺少证书:从 http://curl.haxx.se/ca/cacert.pem 下载证书包并另存为 ca-bundle.crt

我确信 opnessl 已经配置好并且可以工作,但是它没有工作。

但我使用了 v.p.n 并且一切正常 ;)