I have a problem when you run a script from php the problem is that it doesn't do what must be done, this is the php code
? php
echo "starting execution";
echo exec("./sc");
?>
and in the code of the script this is sc
mv text.txt /var/www/files/
does not work does not move the file archive there is I've added the chmod permismos but doesn't appreciate any suggestion