After PHP being updated on our server (Centos 5.11) to be > v5.3.2, I want to get Composer installed like I have in my other environments.
The Composer docs state that "Composer requires PHP 5.3.2+ to run". I have PHP 5.4.45. Still, when trying
curl -sS https://getcomposer.org/installer | php
It exits with the warning
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)
I found this answer which deals with ignoring system requirements when installing Composer.
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!