I want to execute all the command that I can execute in command prompt or terminal through PHP. exec() and system() work only for some of the commands. I am working in linux. I installed offline Blast program. I can run this program only from command prompt or terminal and for several hundred files I need to do this. So I want to run this dynamically through programming. But I found that blast program does not work either with exec() or with system() but works fine in terminal. Is there a way to have full access to command prompt or terminal
The command "blastp -query query.fa -subject arabidapsis.fa" worked in terminal. But when given the following command in php it did not.
exec('blastp -query query.fa -subject arabidapsis.fa' ,$a);
The command "blastp -query query.fa -subject arabidapsis.fa" worked in terminal. But when given the following command in php it did not.
exec('blastp -query query.fa -subject arabidapsis.fa' ,$a);