安装 composer 报错
The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream: Unable to find the socket transport "socks5" - did you forget to enable it when you configured PHP?
代理也配了,php 的 sockets 扩展也打开了,一直都报这个错,有遇到相同问题或者知道怎么回事的大佬么?
1
PS8LW2UFDC 2019-04-15 14:06:00 +08:00 1
wget https://getcomposer.org/composer.phar
chmod +x composer.phar mv composer.phar /usr/local/bin/composer macOS 和 Linux 下我都是这么直接安装的 |
2
triptipstop 2019-04-15 14:23:32 +08:00 1
代理换 http
|
3
sjw199166 OP @PS8LW2UFDC @triptipstop 感谢两位的回答 最后用 polipo 解决了。。
|