Re: managing cvs from php
| From: | robert mena | Date: | Sun, 22 Aug 2004 14:54:38 +0000 |
| Subject: | Re: managing cvs from php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194420@lists.php.net to get a copy of this message | ||
Michal,
The directories have a 777 (ok unsecure but just a test) setting.
Any tips of how can I get the stderr or a better way to do this cvs interface ?
On Thu, 19 Aug 2004 11:45:26 -0400 (EDT), Michal Migurski
<mike@teczno.com> wrote:
> > $cmd = "cd ".$pathToFile." ; /usr/bin/cvs ci -m
> > '".$logMsg."' ".$file ;
> >
> > passthru($cmd) ;
> >
> > If I echo the $cmd and paste in a shell the command works. When I
> > execute from web nothing happens and no output is seen
> > (error_reporting(E_ALL))
>
> Does the apache user have read/write privileges on the files in that
> directory? CVS makes heavy usage of stderr, so that may be a reason you
> are not seeing output.
>
> ---------------------------------------------------------------------
> michal migurski- contact info and pgp key:
> sf/ca http://mike.teczno.com/contact.html
>
>