By the way, I'm using svn version 1.2.0 RC2 on all servers.
Is there anyone who can help me with this one? I'm completely in the
dark here.
On Tue, 2005-05-03 at 09:53 +1200, Maarten van der Veen wrote:
> I'm trying to build a PHP environment for updating working copy's.
>
> I'm using the exec($command, $output) PHP function to send command's to
> the server and get the $output back which I use in php to check if there
> is a new revision.. etc.
>
> I'm experiencing the following problem:
> In FEDORA 3, my local testing environment, when I execute a php file:
> <?
> exec('/usr/local/bin/svn log --limit 1 /path/to/directory', $output);
> print_r($output);
> ?>
>
> I get the first log entry neatly in an array back and printed in the
> browser.
>
> When I execute this same script in the console, with the PHP binary, I
> get the same output.
>
> So far, so good.
>
>
>
>
> But, on Slackware Slackware 9.1.0 and 8.1.0, my remote testing
> environments, when I execute this php file in the browser I get NO
> output back from svn.
> When I run this file on this remote server in the console, I DO get back
> the proper output. So it doesn't seem to be a PHP configuration problem.
>
>
>
>
> When I test the following file in the browser on the Slackware machines:
> <?
> exec('/bin/date', $output);
> print_r($output);
> ?>
>
> I DO get output in both the browser and the console.
>
>
>
> So, it seems to me that there is a specific thing with SVN, why it
> doesn't give me any feedback to the TTY in which it is executed on the
> slackware machines.
>
>
> Does anyone have a clue what is going on here?
>
> Maarten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 4 07:43:51 2005