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

curl-and-php

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

From: Daniel Stenberg <daniel_at_haxx.se>
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
them).

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
apache/php.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-09-08