You are here: Re: SVN over exec() « PHP Language « IT news, forums, messages
Re: SVN over exec()

Posted by Brendan Gillatt on 11/28/07 15:58

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adrian Nievergelt wrote:
> Hi
>
> I have the following problem:
>
> I try to run a file which is essentially
>
> <?
> echo exec("svn info /somepath");
> ?>
>
> or alternatively
>
> <?
> echo exec("svn co --username=bla --password=blabla svn://someurl");
> ?>
>
> on the Webserver.
>
> The problem however is that that doesn't seem to have any effect. The
> page loads way too fast, shows no output whatsoever and the error_log's
> from apache are empty.
>
> Does anyone have any experience on what to do in such a case, or even
> has had the same problem I have?
>
> Since I am quite without any lead help would be greatly appreciated.
>
> Greetz
> Adrian

Check if the apache, www or nobody accounts have execute permissions on
the svn binary. Am I correct in assuming that you can run the program
from the shell?

Also, check if SafeMode is on. I can't recall the details from memory but
I don't think it allows executables to be run from PHP except in specif
directories.

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFHTZArkA9dCbrNdDMRAq3AAJ9zI7I3qeptYCxRITPu9AF36HOq7gCfUbaT
Xitq8OsM2uuGTwh08GD99XE=
=//mE
-----END PGP SIGNATURE-----

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация