gpt4 book ai didi

php - Zend Framework 2 应用程序中 composer.phar self 更新的 Composer\Downloader\TransportException

转载 作者:可可西里 更新时间:2023-10-31 23:48:52 24 4
gpt4 key购买 nike

我正在尝试更新项目中的 Zend Framework 2 库并遇到异常:

use@machine:/path/to/project# php composer.phar self-update
[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded (HTTP/1.1 502 Bad Gateway)

也试过了so ,但错误仍然存​​在:

use@machine:/path/to/project# curl http://getcomposer.org/installer | php
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 166 100 166 0 0 1490 0 --:--:-- --:--:-- --:--:-- 4611
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>

这里有什么问题吗?

最佳答案

Composer 服务器当前已关闭

关于php - Zend Framework 2 应用程序中 composer.phar self 更新的 Composer\Downloader\TransportException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16081526/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com