title: Unable to run shell script file using PHP
body: <p>Hi I am unable to run the .sh file using my php code.</p>
  
  <pre><code> Files:  index.php and .sh files are in the same directory.
  </code></pre>
  
  <p>What I have tried:</p>
  
  <pre><code> echo shell_exec('sh shell_file.sh'); //Did not execute
   echo shell_exec('shell_file.sh'); //Did not execute
   echo exec('shell_file.sh'); //Did not execute
  </code></pre>
  
  <p>But when I run the shell_file.sh file manually it does execute. </p>