Re: exec dont work for svn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did 'nobody' do the initial checkout?

If not, 'nobody' probably can't have permission to do the update.

On Mon, May 28, 2007 5:34 pm, Manolet Gmail wrote:
> 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...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux