zlink
V2EX  ›  PHP

composer 在内网中如何有效的设置代理?

  •  
  •   zlink · Aug 31, 2016 · 5277 views
    This topic created in 3552 days ago, the information mentioned may be changed or developed.
    在内网必须走代理,已设置环境变量 http_proxy , git 可以正常连接 github ,但是 composer 好像并不能生效。
    有没有遇到过类似问题的司机?
    7 replies    2016-08-31 16:35:16 +08:00
    zlink
        2
    zlink  
    OP
       Aug 31, 2016
    @bianchensz 感谢,谷歌大法好。
    zlink
        3
    zlink  
    OP
       Aug 31, 2016
    @bianchensz 然而问题又出现了, composer 可以正常使用了,但是 git 以及 本地 curl 连接超时,很尴尬。
    582033
        4
    582033  
       Aug 31, 2016 via Android
    proxychains
    bianchensz
        7
    bianchensz  
       Aug 31, 2016
    @zlink stack 上全部都有啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:19 · PVG 03:19 · LAX 12:19 · JFK 15:19
    ♥ Do have faith in what you're doing.