Do not use PHP to execute shell scripts