title: How to set CURLOPT_PROXY in Guzzle right way?
body: <p>I am trying to set CURLOPT_PROXY but it doesn't work. Curl is enabled. If I do this by "raw" curl request - everything works.. So? What could be the solution?</p>
  
  <pre><code>$client = new GuzzleHttp\Client();
  
  $res = $client-&gt;get('http://www.ipmango.com/api/myip', [
      'config' =&gt; [
          'curl' =&gt; [
              'CURLOPT_PROXY' =&gt; '194.135.220.18:8081',
          ],
      ]
  ]);
  
  echo $res-&gt;getBody(); // displays my ip addess, not that what I set.
  </code></pre>