Apache Error accessing Subversion
| From: | Andy Czerwonka | Date: | Mon, 06 Oct 2008 01:22:42 +0000 |
| Subject: | Apache Error accessing Subversion | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5788@lists.php.net to get a copy of this message | ||
I've got a PHP script being executed by Apache (www user) :
<?php
echo 'SVN Client is ' . svn_client_version();
svn_auth_set_parameter(SVN_AUTH_PARAM_DEFAULT_USERNAME, "aczerwon");
?>
I'm getting an error on the second line (first on reports 1.4.0 correctly) saying:
svn_auth_set_parameter(): svn error(s) occured\n13 (Permission denied) Can't open file '/root/.subversion/servers': Permission denied
All other commands, svn_log() etc., generate the exact same error. This has got to be a common use case for the subversion extension. Can anyone point to what I'm doing wrong?
openSUSE 10.2
Apache 2
Subversion 2.4
-andy