После обновления PHP на нашем сервере (Centos 5.11) до версии > v5.3.2 я хочу установить Composer так же, как и в других моих средах.
В документации Composer указано, что «Для запуска Composer требуется PHP 5.3.2+». У меня PHP 5.4.45. Тем не менее, при попытке
Код: Выделить всё
curl -sS https://getcomposer.org/installer | php
Код: Выделить всё
PHP Warning: file_get_contents(https://getcomposer.org/versions): failed to open stream: Connection timed out in - on line 762
PHP Warning: Invalid argument supplied for foreach() in - on line 508
None of the 0 stable version(s) of Composer matches your PHP version (5.4.45 / ID: 50445)
Is this something that could be done or is it a somewhat scary/thoughtless thing to do? And, are there other versions ("unstable" or otherwise) of Composer that I could use? Or perhaps PHP should be updated again -> 5.6.x?
Thanks for any tips and help!
Источник: https://stackoverflow.com/questions/389 ... a-bad-idea
Мобильная версия