Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined constant CURL_SSLVERSION_TLSv1 #110

Open
robertotremonti opened this issue Jun 23, 2015 · 2 comments
Open

Undefined constant CURL_SSLVERSION_TLSv1 #110

robertotremonti opened this issue Jun 23, 2015 · 2 comments

Comments

@robertotremonti
Copy link

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
Copy link

cbulock commented Jul 1, 2015

This also causes an issue with PHP 5.4 and HHVM

@clphillips
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants