title: shell_exec() returning null on "ls"
body: <p>So I have this code and I'm only trying to make a list of the saves in another directory where the php scrip is in xampp folder and the saves are to this path <code>/root/files/saves</code>:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;?php
  $output = shell_exec('ls /root/files/saves');
  echo "&lt;pre&gt;$output&lt;/pre&gt;";
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I don't know why I can't get it working on a <code>var_dump</code> it seems output is null I'm really confuse it should work or I just it all wrong I need some help.</p>