If you want to execute system commands from something like PHP, you need a SUID
executable which you can call from your PHP scripts. This is such a script. It
could be extended to support parameters for the commands you want to execute,
but that would be an enormous security