title: https with php curl - protocol not supported, but curl command line connects fine
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9595820/protocol-https-not-supported-or-disabled-in-libcurl">Protocol https not supported or disabled in libcurl</a>  </p>
  </blockquote>
  
  
  
  <p>I am trying to connect to a site via https using curl within php.</p>
  
  <pre><code>&lt;?php
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://api-3t.paypal.com/nvp');
    $response = curl_exec($ch);
    curl_close($ch);
  ?&gt;
  </code></pre>
  
  <p>curl reuturns with </p>
  
  <pre><code>* Protocol https not supported or disabled in libcurl
  </code></pre>
  
  <p>however using curl via command line works fine</p>
  
  <pre><code>  # curl https://api-3t.paypal.com/nvp
  </code></pre>
  
  <p>I am running CentOS 5.8, WHM 11.32.2</p>
  
  <pre><code># curl-config --features
  SSL
  IPv6
  libz
  IDN
  NTLM
  
  
  # curl-config --protocols
  HTTP
  HTTPS
  FTP
  FTPS
  FILE
  TELNET
  LDAP
  DICT
  TFTP
  NTLM
  </code></pre>