title: curl_getinfo() showing empty parameters before and after executing
body: <p>I've got a setup (Laravel) that has been working for years now, but suddenly something changed and the curl_setopt wont work anymore. When the curl is executed it retruns a cURL Error 55 (Failed sending http request).</p>
  
  <p>I use php 5.6.</p>
  
  <p>Here is the setting of my curl:</p>
  
  <pre><code>$ch = curl_init();
      if (!$ch) {
          die("ERROR: cURL initialization failed.  Check your cURL/PHP configuration.");
      }
  
      // - then set the cURL options; to ignore SSL invalid certificates; set timeouts etc. 
      curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
      curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false);
      curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
      curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
      curl_setopt ($ch, CURLOPT_CUSTOMREQUEST, "POST");
  
      curl_setopt ($ch, CURLOPT_FAILONERROR, 0);
  
      curl_setopt ($ch, CURLOPT_URL, SERVER_URL);
      curl_setopt ($ch, CURLOPT_HTTPHEADER, $header); &lt;---This is an array
  
      $this-&gt;Response = curl_exec ($ch);
  
      // Check for any connection errors and then close the connection.
      $curlError = curl_errno($ch);
      $curlErrorText = curl_error($ch);
      curl_close($ch);
  </code></pre>
  
  <p>Here is the output of curl_getinfo() before and after curl_exec() -- it is the same:</p>
  
  <pre><code>[url] =&gt; -------This is an HTTPS link
  [content_type] =&gt; 
  [http_code] =&gt; 0
  [header_size] =&gt; 0
  [request_size] =&gt; 0
  [filetime] =&gt; -1
  [ssl_verify_result] =&gt; 0
  [redirect_count] =&gt; 0
  [total_time] =&gt; 0
  [namelookup_time] =&gt; 0
  [connect_time] =&gt; 0
  [pretransfer_time] =&gt; 0
  [size_upload] =&gt; 0
  [size_download] =&gt; 0
  [speed_download] =&gt; 0
  [speed_upload] =&gt; 0
  [download_content_length] =&gt; -1
  [upload_content_length] =&gt; -1
  [starttransfer_time] =&gt; 0
  [redirect_time] =&gt; 0
  [redirect_url] =&gt; 
  [primary_ip] =&gt; 
  [certinfo] =&gt; Array
      (
      )
  
  [primary_port] =&gt; 0
  [local_ip] =&gt; 
  [local_port] =&gt; 0
  </code></pre>
  
  <p>Why would the info be empty, even if everything is set. Like I said, this use to work before. I have not changed anything on the server.</p>