You are not logged in.
Hi, I updated whole system today. New versions of PHP & PHP components arrived (5.3.3-2). After this update cURL stops resolving remote hosts. I downgraded whole php package back to 5.3.3-1 and everything is working correctly. I'm using default configuration of PHP and Apache2, no DNS proxy. Here is test PHP code, where you can test behavior of broken cURL:
<pre>
<?php
$c = curl_init();
curl_setopt($c, CURLOPT_URL, 'http://www.google.com');
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, 'a=b');
$data = curl_exec($c);
var_dump($data);
var_dump(curl_error($c));Last edited by Srigi (2010-10-14 08:38:39)
Offline
Works fine here. The only thing changed was using the built-in gd lib; so curl shouldn't be affected.
Offline
Apparently my problem is same as in this thread.
Offline