Le Wed, Sep 07, 2022 at 11:10:14AM +0200, Omar Polo a écrit :
> 
> I'm having an issue (that is 100% PEBCAK) with php-curl that seems to
> be unable to resolve hostnames, but this is not an issue with the port
> itself: even a simple php script like:
> 
>       $ch = curl_init("https://www.openbsd.org";);
>       var_dump(curl_exec($ch));
>       var_dump(curl_error($ch));
> 
> yields "Could not resolve host: www.openbsd.org".

i think you need etc/resolv.conf in the chroot, but not 100% sure.
> 

Reply via email to