我一直在試圖安裝作曲家,所以我可以升級到Symfony 2.1,但下載失敗,當我運行卷曲-s https://getcomposer.org/installer | PHP。該錯誤信息是:作曲家下載在Mac上損壞
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 <[email protected]")), aborting.
我在OSX 10.8.2和PHP 5.4.8使用Mac。有誰知道這個問題的原因?
非常感謝Stony,但似乎並沒有解決問題。下載的文件引發了這個異常'致命錯誤:Uncaught exception'PharException'帶有消息'phar error:「/Users/andrew.tarry/composer/composer.phar」是一個損壞的tar文件(文件校驗和不匹配「#!/ usr/bin/env php'。我認爲它與第一個問題有關,但我不確定 – user1829471
嗯?捲曲下載器只從網站下載文件,那麼你得到哪個錯誤? – Stony
http://stackoverflow.com/問題/ 12799154/php-fatal-error-uncaught-exception-pharexception-with-message-manifest – Stony