I have been trying to install Composer so I can upgrade to Symfony 2.1 but the download fails when I run curl -s https://getcomposer.org/installer | php. The error message is:
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.
I am using a Mac on OSX 10.8.2 and PHP 5.4.8. Does anyone know the cause of this problem?
Then download the file from the website directly: Composer
its only a .phar archive. You can run it with PHP
php /path/to/your/file/composer.phar options
or if you put the file to /usr/local/bin
(i hope its the same on Mac) you can run them directly. Without the path.