Skip to content

Instantly share code, notes, and snippets.

@colincny
Last active December 23, 2016 16:00
Show Gist options
  • Save colincny/6999c26996bdf1b42f74fc7693f6de33 to your computer and use it in GitHub Desktop.
Save colincny/6999c26996bdf1b42f74fc7693f6de33 to your computer and use it in GitHub Desktop.
// Tell cURL to use TLS 1.2
curl_setopt($handle, CURLOPT_SSLVERSION, 6); // There is a constant you can use but it's apparently not available on all systems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment