title: php shell_exec() command is not working
body: <p>I am trying to run a .sh file from php.
  I tried doing it with shell_exec(). but its not working
  I refered many questions related to this in stack overflow but could not solve</p>
  
  <p>my php code is(web.php)</p>
  
  <pre><code>    &lt;?php
      echo shell_exec('/var/www/project/xxe.sh');
      echo "done";
      ?&gt;
  </code></pre>
  
  <p>only done is printed. but it is working from terminal(php /var/www/project/web.php)</p>
  
  <p>In xxe.sh I am calling a python file</p>
  
  <pre><code>    python vin.py
  </code></pre>
  
  <p>I have also changed the file permission to 777 for both .sh n .py files
  please help</p>