I am unable to execute commands (shell_exec) with php, and read on stackoverflow / here that the solution was to run apache as root. Is this possible / is this a totally wrong solution? When I try to execute commands with php it does nothing. I am trying to run a python script with variables from a PHP script and it is not working, it does nothing. Doing this on a centos vps