amazon-s3-php-class icon indicating copy to clipboard operation
amazon-s3-php-class copied to clipboard

Undefined constant CURL_SSLVERSION_TLSv1

Open robertotremonti opened this issue 9 years ago • 2 comments

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);             
}

robertotremonti avatar Jun 23 '15 10:06 robertotremonti

This also causes an issue with PHP 5.4 and HHVM

cbulock avatar Jul 01 '15 15:07 cbulock

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+).

clphillips avatar Feb 09 '16 23:02 clphillips