获得致命错误:无缘无故地调用未定义的函数curl_init()

I am using PHP Version 5.5.14, and in phpinfo(), I can see curl being enabled and installed. !

Screen shot of my phpinfo() output

Even from get_defined_functions() function, I can see curl_init() exists.

I checked my php.ini file, and there also extension for curl is activated.

hp ini screen shot

Still, I am getting Call to undefined function curl_init()

Please help.

Code :

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://localhost:4001/savecard");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
//grab URL and pass it to the browser
$output = curl_exec($ch);
curl_close($ch);
var_dump($output);
?>

output :

Fatal error: Call to undefined function curl_init() in test.php on line 2