How to use PEAR behind proxy?

后端 未结 4 438
感动是毒
感动是毒 2020-12-23 20:34

Initially I used the following with no success;

export http_proxy=http://username@password:host:port

Worth noting I don\'t get a connection

4条回答
  •  失恋的感觉
    2020-12-23 21:07

    Instead of using the system's http_proxy, set the proxy directly in pear's config;

    pear config-set http_proxy http://username:password@yourproxy:80
    

提交回复
热议问题