error to execute bash script from php
<p>I want to run my bash script from php code I wrote the following code but it is not working </p>

<pre><code>shell_exec("bash /home/mms/geniatagger/./geniatagger -p /home/mms/Documents/22555802 /home/mms/Downloads/");
</code></pre>

<p>but when I write it in the terminal it runs</p>

<p>any help please</p>

<p>just illustration of what the code does</p>

<pre><code>/home/mms/geniatagger/./geniatagger -p run specific command

/home/mms/Documents/22555802 source of data need to be processed

/home/mms/Downloads/ destination of outputed file 
</code></pre>
