I am trying to execute a shell script by utilizing exec or system functions in PHP... I have successfully run a ls command, but am unable to get my shell script to work (we can run the script with no problems through telnet)... Any assistance would be greatly appreciated!
The most likely cause of your problem are insufficient privileges of the php user. When you run the script from the telnet, are you running it as the same user as the php user? Make sure that the php user has sufficient rights to read/write/execute or whatever your script is doing.