Composer 遇到Unable to use a proxy: malformed http_proxy url 错误时,通常是代理的问题
PHP
0
https://repo.packagist.org could not be fully loaded (Unable to use a proxy: malformed http_proxy url), package information was loaded from the local cache and may be out of date
[Composer\Downloader\TransportException]
Unable to use a proxy: malformed http_proxy url
windows中命令行要使用代理,http_proxy和https_proxy有如下写法:
直接执行
set http_proxy=0
然后再执行 composer 就可以了,这个问题会反复出现,特别是在一些网络本身走了代理的情况下。
版权声明:除非特别标注原创,其它均来自互联网,转载时请以链接形式注明文章出处。