How to use PEAR behind a proxy

PEAR doesn’t seem to care about system’s proxy, so instead you can set it with the following command to use PEAR behind a proxy: