且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

pecl 在生产服务器上安装扩展的问题

更新时间:2023-02-23 18:01:44

好的,我找到了解决方法.你设置了一个代理,但是不是正常的export http_proxy:方式.指令如下:

Ok, I figured out a way around it. You set up a proxy, but not the normal export http_proxy: way. Here's the command:

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