我一直在尝试安装 Composer,以便可以升级到 Symfony 2.1,但是当我运行 curl -s https://getcomposer.org/installer |时下载失败 php。错误信息是:
Downloading...
The download is corrupt, retrying...
Downloading...
The download is corrupt, retrying...
Downloading...
The download is corrupt (phar error: "/Users/andrew.tarry/composer.phar" is a corrupted tar file (checksum mismatch of file "#!/usr/bin/env php
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@nade")), aborting.
我在 OSX 10.8.2 和 PHP 5.4.8 上使用 Mac。有谁知道这个问题的原因?