exec dont work for svn
| From: | Manolet Gmail | Date: | Mon, 28 May 2007 22:34:18 +0000 |
| Subject: | exec dont work for svn | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255725@lists.php.net to get a copy of this message | ||
hi, i want to do a svn update (subversion) from php using exec (or system)
now, this works:
exec("ls; pwd",$out);
foreach($out as $line)echo"<br/>$line\n";
and this also works and print me the help from subversion:
exec("svn help",$out);
foreach($out as $line)echo"<br/>$line\n";
but this doesnt work:
exec("svn update",$out);
foreach($out as $line)echo"<br/>$line\n";
dont print anything... dont update the files, pwd returns me the
correct path...
any ideas? im using cpanel... php5 and fedora 4 php runs as nobody...