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

curl-and-php

Re: Unable to get cURL/https + mod_chroot to work

From: hanji <hanji_at_uno-code.com>
Date: Wed, 25 Apr 2007 14:40:00 -0600

On Wed, 25 Apr 2007 22:26:22 +0200 (CEST)
Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 25 Apr 2007, hanji wrote:
>
> > All tests were performed after apache restarts to ensure that libs were
> > loaded, etc
>
> Can you run command line tool from within the jail? If so, try php and curl
> stand-lone - if nothing else it'll ease your debugging.

Not sure how to do this. Would creating a PHP script and calling exec()
pull this off? Not sure I'll be able to do this, since curl actually is
outside of the jail, but apache makes it available within the jail. Do
you have a suggestion to test?

> > net-misc/curl-7.15.1-r1
>
> Do note that this is fairly old by now.

What version would you recommend? Currently, Gentoo's 'stable' portage
has that, but they do have the following available and I could emerge
any of these:

curl-7.15.5.
curl-7.16.2
curl-7.16.3_pre20070418

> > 13230 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> > 13230 waitpid(-1, 0xbf9f96d8, WNOHANG|WSTOPPED) = 0
> > 13230 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> > 13230 waitpid(-1, 0xbf9f96d8, WNOHANG|WSTOPPED) = 0
> > 13230 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
>
> This select() series is mighty weird. It waits for nothing with a 1 second
> timeout...

I hear ya.. that IS weird. Thanks for replying!

hanji
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-04-25