On Sat, Mar 3, 2012 at 10:20 AM, Richard Toohey
wrote:
> Have you got /bin/sh (off the top of my head) in the chroot bin directory?
Obviously no :-)
> I think PHP's exec tries to find that.
You're right: now works perfectly!
> The bit about error 127 and /bin/sh, not the guy who says just ski
On 3/03/2012, at 9:38 PM, fRANz wrote:
> Hi,
> I tried to make ping working inside httpd chroot from php script.
> Without chroot, ping works fine.
> I don't know what I miss in this configuration:
>
> # uname -a
> OpenBSD d7 5.0 GENERIC#59 i386
>
> # cat /etc/rc.conf | grep httpd
> # use -u to di
Hi,
I tried to make ping working inside httpd chroot from php script.
Without chroot, ping works fine.
I don't know what I miss in this configuration:
# uname -a
OpenBSD d7 5.0 GENERIC#59 i386
# cat /etc/rc.conf | grep httpd
# use -u to disable chroot, see httpd(8)
httpd_flags="-DSSL" # for n
3 matches
Mail list logo