Stuart Henderson skrev:
On 2007/09/05 17:57, Johan L wrote:
We are trying to get the PHP exec() function to work in a chrooted Apache
environment (4.1-stable MP ACPI enabled, PHP 5.1.6).
could be wrong, but iirc it needs /bin/sh
Yep, copy /bin/sh to /var/www/bin made it all work. Now both P
On 9/5/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote:
> On Wed, 5 Sep 2007, Johan L wrote:
> >
> > Any suggestion on how to solve this (other than disabling chroot of
> > course...)?
> >
> > /Johan
>
> depending on how you invoke the executable, you might need /bin/sh as
> well in the chroot. Please
On Wed, 5 Sep 2007, Johan L wrote:
> Hi,
>
> We are trying to get the PHP exec() function to work in a chrooted Apache
> environment (4.1-stable MP ACPI enabled, PHP 5.1.6).
>
> Even if using a static binary (for example date) in the chrooted directory,
> exec just returns 127.
>
> Everything w
Hi,
We are trying to get the PHP exec() function to work in a chrooted
Apache environment (4.1-stable MP ACPI enabled, PHP 5.1.6).
Even if using a static binary (for example date) in the chrooted
directory, exec just returns 127.
Everything works fine when running chroot from the command li
4 matches
Mail list logo