how to run a .sh file from php?
<p>I am trying to run a shell script using php </p>

<p>shell script ( /home/scripts/fix-perm.sh ) is in the same server </p>

<p>this is the code that i am trying </p>

<pre><code>&lt;?php
echo shell_exec('/home/scripts/fix-perm.sh');
?&gt;
</code></pre>

<p>the above code is not working</p>

<p>am using linux server </p>

<p>can anybody please help me?</p>
