I notice that when I run curl_version() in PHP on my local Mac server (OSX Yosemite), I get "ssl_version = SecureTransport"
. There seems to be an issue with SecureTransport sending a POST request over SSL, so I'd like to use OpenSSL with cURL in PHP instead.
How can I change the version of SSL that cURL uses in PHP? If I run php -i | grep "SSL Version"
from the command line, I get SSL Version => OpenSSL/1.0.2d
, which is different from when run in cURL in PHP, which is puzzling.