Initially I used the following with no success;
export http_proxy=http://username@password:host:port
Worth noting I don\'t get a connection
This will remove proxy settings:
pear config-set http_proxy ""