title: Curl error: SSL connect error
body: <p>When i try to make payment using Paypal api it generate this error <br/>
  'Curl error: SSL connect error' <br/>
  - PHP version 5.4 <br/>
  but same code work in my local machine and i have PHP 5.6 in local machine <br/>
  - is there version issue with this or somethings else ? <br/></p>
  
  <ul>
  <li>my curl code is <br/>
  <pre><code>
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_VERBOSE, 1);
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  curl_setopt($curl, CURLOPT_TIMEOUT, 30);
  curl_setopt($curl, CURLOPT_URL, $api_endpoint);
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($curl, CURLOPT_POSTFIELDS, $nvp_string);
  $result = curl_exec($curl);
  if(curl_exec($curl) === false)
  {
     echo 'Curl error: ' . curl_error($curl);
  }
  else
  {
    echo 'Curl Execuation Success...';
     } 
  curl_close($curl);
  </pre></code></li>
  </ul>