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

curl-and-php

Re: chroot and curl problem

From: V <vejas_at_neonet.lt>
Date: Fri, 21 Oct 2005 22:32:43 +0300 (EEST)

When I disable mod_chroot, then it works. It does not work after I enable
mod_chroot. But I dont know, why..

regards,
V.

> You might want to try setting some different Curl SSL options:
>
> curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 2);
> curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
>
> this might help!! try it!!
>
> - Naveed
>
>
> On 10/21/05, V <vejas_at_neonet.lt> wrote:
>> Hello,
>>
>> I run apache in chrooted environment using mod_chroot
>> (http://core.segfault.pl/~hobbit/mod_chroot/).
>> And I have problems with php+curl. It works with http, but down not wirk
>> with https in chrooted environment. I even copied libssl to chrooted
>> environment. Maybe someone could help to resolve that problem?
>>
>> regards,
>> V.
>>
>>
>> _______________________________________________
>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2005-10-21