Hi Im trying to execute a simple bash script from php that does an svn update, the bash script works from the command line and I have chmod'd the file to 777 i need help getting it to execute from php. I have adapted this script from the php docs but i cant get it to work,
Any help would be greatly appreciated.
// Outputs all the result of shellcommand "ls", and returns
// the last output line into $last_line. Stores the return value
// of the shell command in $retval.
$last_line = system('bash /home/xxxxxxxxxxxxx/svn-up', $retval);
// Printing additional info
<hr />Last line of the output: ' . $last_line . '
<hr />Return value: ' . $retval;