When i execute that php command i get the following returned value back:
bool(false)
Also tried the following script on my domain :
$ch = curl_init("http://google.com"); // initialize curl handle
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$data = curl_exec($ch);
print($data);
And it worked, i could connect to google..
Also looked at php environment and it says this : Curl loaded OK