cURL is enabled in the server. But it's showing some error from the curl_exec($curl) point. No other error is showing from curl_error($curl);
Fatal error: Original Handler not found! in /public_html/curl_test.php on line 18
The cURL package is curl-7.29.0-46.el7.x86_64.
Could anyone suggest me any solution or can help me to troubleshoot the issue?
if (!function_exists('curl_init')){
    die('Sorry cURL is not installed!');
}
$curl = curl_init();
curl_setopt_array($curl, Array(
    CURLOPT_URL            => 'http://someurl.com',
    CURLOPT_TIMEOUT        => 120,
    CURLOPT_CONNECTTIMEOUT => 30,
    CURLOPT_RETURNTRANSFER => TRUE,
    CURLOPT_ENCODING       => 'UTF-8'
));
if(curl_exec($curl) === false)
{
    echo 'Curl error: ' . curl_error($curl);
}
else
{
    $data = curl_exec($curl);
    echo 'Operation completed without any errors';
}
curl_close($curl);
 
    