I'm behind a proxy server that does not allow a direct connection to internet. All of my PHP applications fail to connect to internet for their update checks and etc.

How can I tell PHP my Proxy Settings?

I don't want to enter proxy settings into the code, I want PHP itself use it via a global config setting or something similar.