I'm trying to execute the following command:
exec("chmod 755 $filename");
The command is not executing and the following error results:
sh: /chmod: not found
Any command (cp, mv, etc.) results in a slash added to the front of the command and the not found error.
Any insight would be appreciated.
B