Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Allen
On 3/21/07, Joachim Schipper <[EMAIL PROTECTED]> wrote: On Wed, Mar 21, 2007 at 01:56:24AM -0700, Kevin wrote: > >I ran into this issue setting up zencart on OpenBSD. My guess is you need > >to copy /etc/resolv.conf to /var/www/etc/resolv.conf. > > > >You can verify that by chroot'ing yourself m

Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Joachim Schipper
On Wed, Mar 21, 2007 at 01:56:24AM -0700, Kevin wrote: > >I ran into this issue setting up zencart on OpenBSD. My guess is you need > >to copy /etc/resolv.conf to /var/www/etc/resolv.conf. > > > >You can verify that by chroot'ing yourself manually into /var/www and > >trying to curl something. > T

Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Kevin
I ran into this issue setting up zencart on OpenBSD. My guess is you need to copy /etc/resolv.conf to /var/www/etc/resolv.conf. You can verify that by chroot'ing yourself manually into /var/www and trying to curl something. That's what I thought so, too at first, but I verified that ours is the

Re: issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-21 Thread Matthew Closson
Kevin, I ran into this issue setting up zencart on OpenBSD. My guess is you need to copy /etc/resolv.conf to /var/www/etc/resolv.conf. You can verify that by chroot'ing yourself manually into /var/www and trying to curl something. Good luck! -Matt- On Tue, 20 Mar

issues with PHP and cURL curl_exec() function within OpenBSD chroot

2007-03-20 Thread Kevin
Hello all, We're having issues with php 5.1.6 and cURL within OpenBSD's (v4.0) jail. Hopefully, someone knows how to solve this. We're using PHP's built-in cURL function, curl_exec(), to connect to remote servers (both HTTP and HTTPS). We then send an HTTP POST request (or GET--it doesn't matter