Issue
Initially I used the following with no success;
export http_proxy=http://username@password:host:port
Worth noting I don't get a connection error directly, instead;
[root@pal ~]# sudo pear info PHP_CodeSniffer-1.2.1
No information found for `PHP_CodeSniffer-1.2.1'
Solution
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
Answered By - Daniel Morris Answer Checked By - Katrina (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.