curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );

satırlarını silip dener misiniz