PHP 5.3 CURL -- i am getting empty response from server( UBUNTU SERVER )
- by user333472
There is simple problem that when i am running "hello world" program for curl
<?php
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, "http://www.php.net");
curl_exec ($curl);
curl_close ($curl);
?>
this code takes a min to run but returns empty , Please can any body tell me how to change setting or any thing so that this simple program run on a LINUX ( UBUNTU ) SERVER