Merge pull request #2918 from Evan-R/patch-1

add note for alternate download method in case curl fails
main
Jordi Boggiano 10 years ago
commit ab4ecb9471

@ -65,6 +65,11 @@ Composer (again, this means downloading it into your project):
$ curl -sS https://getcomposer.org/installer | php $ curl -sS https://getcomposer.org/installer | php
> **Note:** If the above fails for some reason, you can download the installer
> with `php` instead:
$ php -r "readfile('https://getcomposer.org/installer');" | php
This will just check a few PHP settings and then download `composer.phar` to This will just check a few PHP settings and then download `composer.phar` to
your working directory. This file is the Composer binary. It is a PHAR (PHP your working directory. This file is the Composer binary. It is a PHAR (PHP
archive), which is an archive format for PHP which can be run on the command archive), which is an archive format for PHP which can be run on the command

Loading…
Cancel
Save