title: PHP curl post request error 104
body: <p>Submitting POST request:</p>
  
  <pre><code>$data = array('InputSegments'=&gt;$input_segment, 'cmdSubmit'=&gt;'Submit');
  $ch = curl_init($url);
  curl_setopt($ch, CURLOPT_POST, true);
  curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_PORT, "443");
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_HTTPHEADER, array(
                                          'Content-Type: application/x-www-form-urlencoded'
                                          ));
  $response = curl_exec($ch);
  $info = curl_getinfo($ch);
  $err_no = curl_errno($ch);
  $err = curl_error($ch);
  curl_close($ch);
  
  echo $err_no.' '.$err;
  </code></pre>
  
  <p><strong>ERROR</strong></p>
  
  <blockquote>
    <p>56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 104cURL Error #:SSL read: error:00000000:lib(0):func(0):reason(0), errno 104</p>
  </blockquote>
  
  <p><strong>php.ini</strong></p>
  
  <p>OpenSSL support enabled</p>
  
  <p>OpenSSL Library Version OpenSSL 1.0.1f 6 Jan 2014</p>
  
  <p>OpenSSL Header Version  OpenSSL 1.0.1f 6 Jan 2014</p>