Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

dont work with 7.3.3 - solution #163

Open
vb6rocod opened this issue Feb 4, 2020 · 0 comments
Open

dont work with 7.3.3 - solution #163

vb6rocod opened this issue Feb 4, 2020 · 0 comments

Comments

@vb6rocod
Copy link

vb6rocod commented Feb 4, 2020

I test with different version
with 5.6.39 work without "CURLOPT_SSL_CIPHER_LIST"
with 7.3.1 must add "CURLOPT_SSL_CIPHER_LIST"
with 7.3.3 dont work.
If I add curl_setopt($ch, CURLOPT_SSLVERSION,CURL_SSLVERSION_TLSv1_3) work.
CURL_SSLVERSION_TLSv1_3 is not defined in php < 7, I make this code
if (defined('CURL_SSLVERSION_TLSv1_3'))
$ssl_version=7;
else
$ssl_version=0;
and add
curl_setopt($ch, CURLOPT_SSLVERSION,$ssl_version);

Maybe exist a better solution ?

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

No branches or pull requests

1 participant