用于安装 Composer 的代理

问题描述 投票:0回答:1

我想安装 Composer,但我不知道代理,或者我应该使用哪个代理,请帮忙 composer setup wizard

编辑: 我尝试使用

www.google.com:443
代理

using google proxy

但它仍然给我这个错误

Composer Error

编辑:我尝试将代理留空,它给了我这个

这是文本中的错误代码:

The Composer installer script was not successful [exit code 1].

Script Output:
The "https://getcomposer.org/versions" file could not be downloaded: SSL: An existing connection was forcibly closed by the remote host
Send of 129 bytes failed with errno=10054 An existing connection was forcibly closed by the remote host
Failed to open stream: HTTP request failed!
php windows composer-php
1个回答
0
投票

下载作曲家并运行后。如果您选中开发者模式,则需要不选中“使用代理服务器连接到互联网”,除非您有代理。

Use a proxy server to connect to the Internet

如果您已检查并添加了任何 URL 或 IP 才能继续,则需要从环境中删除“http_proxy”。

在 Windows 中只需搜索编辑环境变量并删除“http_proxy”

See image for details

© www.soinside.com 2019 - 2024. All rights reserved.