cURL / Mailing Lists / curl-and-php / Single Mail


RE: cURL can't resolve host through Apache/PHP, works with PHP/CLI

From: Daniel Stenberg <>
Date: Sat, 8 Sep 2007 22:23:33 +0200 (CEST)

On Sat, 8 Sep 2007, Philip Espersen wrote:

> Could any of the above settings cause a problem like to the one i am
> experiencing? I know you're probably not able to give me an answer on that
> without knowning my entire server setup.

The thing is that I have no idea what's causing the problem, but since it
works when you run it from the command line I can't see how it is a problem
within the actual libraries libcurl or c-ares (I happen to maintain both of

You need to dig down further to track down the differences in how the libs are
loaded/used/run in command line compared to when invoked from within

  Commercial curl and libcurl Technical Support:
Received on 2007-09-08