composer / windows-setup

The Windows installer for the Composer PHP Dependency Manager
MIT License
144 stars 70 forks source link

The Composer installer script was not successful [exit code 1]. #159

Closed OXRA-SB closed 4 days ago

OXRA-SB commented 1 month ago

Здравствуйте, когда пытаюсь установить composer, выходит такая ошибка:

The Composer installer script was not successful [exit code 1].

Script Output: The "https://getcomposer.org/versions" file could not be downloaded: php_network_getaddresses: getaddrinfo for getcomposer.org failed: Обычно - это временная ошибка, возникающая во время разрешения имени узла, и означающая, что локальный сервер не получил ответа от полномочного сервера.

Как решить данную проблему?

прокси

johnstevenson commented 1 month ago

This means that the DNS lookup to resolve the host name getcomposer.org failed.

This could either be caused by a misconfiguration in the DNS service on your computer or an external DNS server failing.

Perhaps something has been added to your Windows\System32\Drivers\etc\hosts file that is causing a problem?