[英]I am unable to install Composer on my local machine
I am trying to install Composer on my local machine (Macbook Pro OSX Yosemite version 10.10.4) using the following command in terminal:我正在尝试使用终端中的以下命令在我的本地计算机(Macbook Pro OSX Yosemite 版本 10.10.4)上安装 Composer:
> curl -sS https://getcomposer.org/installer | php
I receive the following output:我收到以下输出:
> #!/usr/bin/env php
> All settings correct for using Composer
>Downloading...
>Download failed: file_get_contents(https://getcomposer.org/composer.phar): failed
>to open stream: Operation timed out
>Downloading...
>Download failed: file_get_contents(https://getcomposer.org/composer.phar): failed
>to open stream: Operation timed out
>Downloading...
>Download failed: file_get_contents(https://getcomposer.org/composer.phar): failed
>to open stream: Operation timed out The download failed repeatedly, aborting.
I don't understand why the operation is timing out.我不明白为什么操作超时。 My connection is fine.
我的连接正常。 What can I try next?
我接下来可以尝试什么?
I You are having problems with your internet connection. I 您的互联网连接有问题。 That's why the terminal is showing Operation timeout.
这就是终端显示操作超时的原因。 Check your internet settings and proxy settings.
检查您的互联网设置和代理设置。 If you internet connection is ok , Go for a system restart and check your firewall.
如果您的互联网连接正常,请重新启动系统并检查您的防火墙。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.