my server is in a LAN and is connected to internet through a Proxy Server. my PHP application (Drupal), should be able to check for updates through PHP codes. how can i set Proxy Settings for PHP so that it function properly?
Note: i know that i can set proxy settings in curl or something else. but the case is that the code is not mine and i don't wanna change it. i just want to make PHP always connect to internet through a specific proxy settings.