in reply to using Git::Wrapper with Apache
When you run the script at the command line, git is using your account and permissions. When you are executing the script through a browser, it is using whatever user, permissions and environment variables, like path, are set up for the apache server.
Maybe you need to pass the path to the git binary location, as that might not be in the environment variables used by apache:
my $git = Git::Wrapper->new({ dir => '/path/to/repo' , git_binary => +'/path/to/git' });
Anne
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: using Git::Wrapper with Apache
by tomgracey (Scribe) on Jun 12, 2013 at 13:48 UTC | |
by Anneq (Vicar) on Jun 12, 2013 at 17:09 UTC | |
by tomgracey (Scribe) on Jul 09, 2013 at 08:42 UTC |
In Section
Seekers of Perl Wisdom