If I do the following command, I get an 'hey' output:
echo shell_exec("echo 'hey'");
But If I do the following command, it will not kill any screen
:
echo shell_exec("killall screen");
Or if I do
echo shell_exec("sh /var/www/html/run.sh");
It will not run that file at all (that file does the screen killing aswell)
And If I even get that file with get contents, it successfully reads the content in it.
If it can execute echo
so whats wrong?