I can run a script as the linux user apache. But when I try to invoke the same through a web-page running on the server (I am using the php system command) it does not execute, and I get a return value of 127. This script takes really long to run, can run for several minutes sometimes.
I am clueless about why this is happening... Any suggestion to how a user can call it on a web server?