I want to install Composer for myself, what would be to install yii through it I launch the installation with the command

curl -sS http://getcomposer.org/installer | php 

After a while I get an error

 The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream: Connection timed out The download failed repeatedly, aborting. 

What could be the problem? He turned to the hoster, said that there are no network problems

  • attach the output of two commands: $ wget -S --spider https://getcomposer.org/versions and $ wget -4 -S --spider https://getcomposer.org/versions - aleksandr barakin
  • one
    there the problem was that it was necessary to unzip the line in the gai.conf file - Diefair
  • @Diefair exactly which string? - Fitstd

0