On 2021-10-26, Sven F. <sven.falem...@gmail.com> wrote:
> exec ('/usr/sbin/ksh -c "echo a"', $output, $retval);
> echo '<br/>';
> echo "Returned with status $retval and output:\n";
..
> Returned with status 127 and output:
..

You need /bin/sh in the chroot for this to work.

"The exit status of the shell is 127 if the command file specified on
the command line could not be opened"

I've just added some more text to php's pkg-readme files about this

Reply via email to