Re: managing cvs from php

From: Date: Thu, 19 Aug 2004 15:45:26 +0000
Subject: Re: managing cvs from php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194258@lists.php.net to get a copy of this message
> $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

« previous php.general (#194258) next »