How can I check if php curl was compiled with ssl and has support for ssl? I mean, a simple check to see if curl is available would be:
if(extension_loaded('curl'))
but how do I check if curl also has support for ssl? I need this check because ssl support is needed to using oauth2 - based API and I need some way to quickly check if client's php is able to the oauth2 before actually using it (and failing)