Undefined constant CURL_SSLVERSION_TLSv1
robertotremonti opened this issue · 2 comments
robertotremonti commented
CURL_SSLVERSION_TLSv1
constant is not defined in PHP 5.3.29.
You should define it if not available.
if (!defined('CURL_SSLVERSION_TLSv1')) {
define('CURL_SSLVERSION_TLSv1', 1);
}
cbulock commented
This also causes an issue with PHP 5.4 and HHVM
clphillips commented
CURL_SSLVERSION_TLSv1 is not defined until PHP 5.5. This really should be fixed since it is bug for anything < PHP 5.5 (lib requirement is PHP 5.2+).