title: PHP shell_exec() cannot Run Node
body: <p><code>shell_exec()</code> work and return correct result for other commands. For example <code>shell_exec('ls -a')</code></p>
  
  <p>But it doesn't work and doesn't return anything for both <code>shell_exec('node --version')</code> or <code>shell_exec('/usr/bin/node --version')</code>.</p>
  
  <p>I actually wanted to run a simple node script from PHP, but I can't even run node cli at all.</p>
  
  <p>I am on Ubuntu 16.04 with Node 4.2.6 (installed from official repo) and XAMPP for Linux 5.6.12.</p>
  
  <p>Any idea please? Do I need to set some permission on something?</p>