I’m having trouble executing a shell script from php. The strange thing is that I’m not getting any errors, just nothing.
So for testing, I created the following php file:
$output = shell_exec('ls -ls');
If I open that page in my browser I only get a 404 error (probably because the php interpreter doesn’t output anything).
system and exec won’t work either. Is program execution from within php disabled?