I am trying to run the command "svn info" from a php webpage.
Code: Select all
exec("svn info /var/www/html/appdir", $stddout, $succ);Here is the error message...
svn: Can't open file '/root/.subversion/servers': Permission denied
I understand that when I run these commands from the webpage, I am running them as apache, not as myself, so that is why the same command works in my terminal, but doesn't work from my webpage.
How can I overcome this?