You are not logged in.

#1 2009-04-05 22:55:03

_Lemon_
Member
Registered: 2009-03-15
Posts: 3

PHP's curl Functions

Hello all,

I'm trying to do some development work using a typical LAMP set up, however the curl functions are failing to resolve hosts and come up with the error: "Couldn't resolve host 'google.com'" and an errno of 6.

Other functions in php such as file_get_contents appear to work for urls and curl on the command-line works like a charm.

What could possibly be going on here?

Thanks

Offline

#2 2009-04-06 14:03:43

_Lemon_
Member
Registered: 2009-03-15
Posts: 3

Re: PHP's curl Functions

The PHP version I was using was from the repositories 5.2.9-2 I've just tried installing 5.2.9-3 from testing but to no avail.

I did, however dig up: http://bugs.php.net/bug.php?id=47717 which suggests it is a bug in the PHP version.

Guess I'll just have sit tight and use something else instead, ho hum.

Offline

Board footer

Powered by FluxBB