4

我正在尝试更新项目中的 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)

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

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>

这里有什么问题?

4

2 回答 2

0

托管库作曲家的服务器之一试图为您正在安装的应用程序下载没有提供所需的文件,作曲家因错误消息而死。稍等片刻,然后再次尝试 create-project 命令。

于 2013-11-24T03:59:19.660 回答
0

作曲家服务器当前已关闭

于 2013-04-18T11:31:49.033 回答