Install & Configure Subversion - Easyapache 3 - Apache 2.4 - Subversion 1.9.8 - Php 5.6
Hi all
I'm currently want to install Subversion 1.9 on this system:
Easyapache 3
Apache 2.4
Php 5.6
CENTOS 7.2 x86_64
WHM 54
I've search in a lot of forums, try to compile subversion, install from yum, almost everything, but with no luck.
My system config now is:
httpd -M | grep svn
dav_svn_module (shared)
authz_svn_module (shared)
svn --version
svn, version 1.9.3 (r1718519)
compiled Apr 4 2016, 23:57:14 on x86_64-unknown-linux-gnu
On apache config I've added the load the libraries:
LoadModule dav_svn_module /usr/local/libexec/mod_dav_svn.so
LoadModule authz_svn_module /usr/local/libexec/mod_authz_svn.so
but when I try to add the location in apache config
DAV svn
SVNParentPath /home/svn
Require valid-user
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-users
I get this error:
Configuration problem detected on line 2 of file /usr/local/apache/conf/includes/pre_virtualhost_2.conf.tmp: Unknown DAV provider: svn --- /usr/local/apache/conf/includes/pre_virtualhost_2.conf.tmp --- 1 2 ===> DAV svn <=== 3SVNParentPath /home/whitebox/repos 4AuthType Basic 5AuthName "Whitebox - SVN Server" 6AuthUserFile /etc/svn-auth.htpasswd 7Require valid-user 8 --- /usr/local/apache/conf/includes/pre_virtualhost_2.conf.tmp --
Could anyone give me some help
Regards,
-
Hi, Are you loading your DAV SVN configurations in the pre_virtual_host include? Check to make sure that you're loading the modules (LoadModule) before the include line. 0 -
Hi, I have a similar system configuration and I need to install subversion in my Centos 7, but when executing yum install subversion mod_dav_svn system tell me that I need a httpd version above than 2.2.3 and I have installed Apache 2.4.25... I did a migration to a new VPS and I cannot re install subversion. Any help? Thanks! 0 -
Hello @Nacho Albano, It's likely the package you are attempting to install via YUM is checking for the stock Apache RPM. There's a similar thread linked below where a user was able to workaround the issue by manually installing from source instead of through YUM: Trying to install svn and getting error about apache ver Thank you. 0
Please sign in to leave a comment.
Comments
3 comments