Page 1 of 1

Xampp doesn't start after adding svn modules

PostPosted: 26. February 2012 02:14
by matiash
Hi,

I'am running on Ubuntu 64bit and after copying modules:
Code: Select all
cp /usr/lib/apache2/modules/mod_authz_svn.so /opt/lampp/modules/
cp /usr/lib/apache2/modules/mod_dav_svn.so /opt/lampp/modules/


and uncommenting lines in httpd.conf file:
Code: Select all
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so


I get error:
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/

log_file:
httpd: Syntax error on line 123 of /opt/lampp/etc/httpd.conf: Cannot load /opt/lampp/modules/mod_dav_svn.so into server: /opt/lampp/modules/mod_dav_svn.so: wrong ELF class: ELFCLASS64

I really need working xampp with svn over http. I will be gratefull for any help.

Re: Xampp doesn't start after adding svn modules

PostPosted: 26. February 2012 18:17
by JonB
well - what is wrong is that your ubuntu 64bit shared objects won't work with XAMPP's 32 bit Apache (my best guess)

You need the 32 bit modules for XAMPP, in the same major revision of Apache..

I'm not where my LAMPP box is right now so experimenting is not easily possible (and I'm on Fedora). Do you need an SVN repository or client???

Good Luck
8)

Re: Xampp doesn't start after adding svn modules

PostPosted: 26. February 2012 20:48
by matiash
Well, I need SVN repository on my ubuntu and I need to share it over http. I installed ubuntu 32bit in virtualbox and then I installed libapache2-svn and everything works fine on virtual machine. So I tried to copy two modules: mod_authz_svn.so, mod_dav_svn.so from virtual host to my ubuntu 64bit but I still get the same error.

Re: Xampp doesn't start after adding svn modules

PostPosted: 27. February 2012 04:00
by JonB
Here's apparently a solution -

You will need Google Translate (unless you read German well) or better use the Google browser and 'Translate this page'.

http://www.espend.de/artikel/xampp-lamp ... ieren.html


Good Luck
8)