I have http_proxy settings in my /etc/environment on my Ubuntu machine. I have defined CURLOPT_NOPROXY as 10177 and then do
$curl = curl_init(\'http://127.0
I also had a problem with curl using a proxy only in PHP curl calls. I eventually found that SUSE specifically SLES 11 had some proxy values set. Changing those proxy values fixed issues in linux but I had to restart the entire server not just apache for the changes to take affect in PHP. I used YAST to change the proxy values on the server.