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 PHP exec() and system() work as expected.
Thanks Stuart and Otto!