Curl 旋度-sShttps://getcomposer.org/installer |php在服务器上不工作

Curl 旋度-sShttps://getcomposer.org/installer |php在服务器上不工作,curl,centos,composer-php,Curl,Centos,Composer Php,我在CentOs服务器上,试图安装composer 当我运行curl-sS时https://getcomposer.org/installer |php,什么也没发生。没有消息,没有composer.phar文件。不知道这里发生了什么 感谢您理解正在发生的事情,请尝试制作而不是:curl-sS | php curl -sS https://getcomposer.org/installer | php 两个单独的命令: wget https://getcomposer.org/installer

我在CentOs服务器上,试图安装composer

当我运行
curl-sS时https://getcomposer.org/installer |php
,什么也没发生。没有消息,没有composer.phar文件。不知道这里发生了什么


感谢您理解正在发生的事情,请尝试制作而不是:curl-sS | php

curl -sS https://getcomposer.org/installer | php 两个单独的命令:

wget https://getcomposer.org/installer wgethttps://getcomposer.org/installer 及

php安装程序; 在这种情况下,您可以看到问题出在哪一步

php installer;