title: cURL - Protocol https not supported or disabled in libcurl (post PHP update)
body: <p>I know there are dozens of questions about this particular topic, but the usual suggestions don't really seem to help. I have checked the server under the root account and the specific account I'm working with and in both cases (if they even can be different) SSL is listed as a feature and HTTPS is listed as a protocol.</p>
  
  <p>My cURL functions were working fine until yesterday when we upgraded PHP from ~5.1/5.2 to 5.4.26. My assumption was that PHP and/or cURL were compiled without SSL support, but that doesn't seem to be the case.</p>
  
  <p>If it helps, the functions are calling Appcelerator's cloud services. This is one of the login functions, the first to throw the "trying to get property of non-object" error because <code>$res</code> is false:</p>
  
  <pre><code>function login() {
      $url = 'https://api.cloud.appcelerator.com/v1/users/login.json?key=&lt;MY_APP_KEY&gt;';
      $options = array(
          CURLOPT_RETURNTRANSFER =&gt; TRUE,
          CURLOPT_POST =&gt; TRUE,
          CURLOPT_POSTFIELDS =&gt; array(
              'login' =&gt; '&lt;MY_APP_LOGIN&gt;',
              'password' =&gt; '&lt;MY_APP_PASSWORD&gt;'
          )
      );
      $curl_session = curl_init($url);
      curl_setopt_array($curl_session, $options);
      $res = curl_exec($curl_session);
      curl_close($curl_session);
      $this-&gt;session_id = json_decode($res)-&gt;meta-&gt;session_id;
  }
  </code></pre>
  
  <p>Is it possible that even though SSL and HTTPS are listed that they're not actually in effect? Is there a way to check and if necessary fix that?</p>