Composer没有安装Windows 7

时间:2015-04-10 04:38:55

标签: php windows apache composer-php

我试图在我的Window 7操作系统上安装Composer,但它给了我以下错误:

Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org
Request to https://getcomposer.org/installer failed with errors:
Failed to open stream: No connection could be made because the target machine actively refused it.

我的PHP配置是:

PHP Version 5.5.22

Apache 2.2.13

可能是什么问题?

1 个答案:

答案 0 :(得分:-1)

试试这个 C:\ bin> php -r" readfile(' https://getcomposer.org/installer');" | PHP