I have a problem
simple script taken from php help file hangs up:
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.google.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
?>
When I run it from command line like this : "php test.php" It works fine and I see result. When I run it from browser - it hangs up...
I try run it on other server - It works fine.
But I need to run it on first server. It have following configuration
Apache/2.0.40
PHP Version 4.3.4
libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4
Can anybody help me with this problem ? I try to install different version of curl (7.9.8) It does't work too. And I think that problem not in curl library.