PHP Composer behind http proxy

后端 未结 10 2099
日久生厌
日久生厌 2020-11-29 05:45

I use composer on a network where the only way to access the internet is using HTTP or socks proxy. I have http_proxy and https_proxy environment variables. When compose tri

10条回答
  •  情话喂你
    2020-11-29 06:30

    This works , this is my case ...

    C:\xampp\htdocs\your_dir>SET HTTP_PROXY="http://192.168.1.103:8080" 
    

    Replace with your IP and Port

提交回复
热议问题