Linux söz konusu olduğunda oldukça büyük n00b değilim
exec ('whoami', $output, $return);
echo $return;
// Outputs 127 Which means the command is not executing. I can get it to execute when I root into the server.
Herhangi bir yardım büyük mutluluk duyacağız!