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