title: shell_exec in PHP is not working
body: <p>shell_exec()
  is not working on my localhost. I read a lot of websites to resolve this issue but can't find a solution.
  This code:</p>
  
  <pre><code>    $output = shell_exec("env");
      print "&lt;pre&gt;$output&lt;/pre&gt;";
  </code></pre>
  
  <p>Doesn't give any output. </p>
  
  <p>I checked in php.ini <code>disable_functions</code> but <code>shell_exec</code> is not disabled.
  I did <code>error_reporting = E_ALL</code> but again no output (no error). All I get is just a blank screen. Even <code>safe_mode</code> is off.</p>
  
  <p>If I write <code>echo "BULB";</code> after the above code it is printing "BULB".</p>
  
  <p>What could be the issue?</p>