[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: PLease help : Collabnet Subversion + webSVN + php

From: Mehdi Mehdi <mehdi_c_at_lycos.com>
Date: Wed, 09 Jan 2008 07:48:52 -0500 (EST)

Now i have installed properly :

libiconv-1.11-sol10-sparc-local
libxml2-2.6.16-sol10-sparc-local
php-5.2.1-sol10-sparc-local
zlib-1.2.3-sol10-sparc-local
CSVNclnt-1.4.4.1-sparc-local
CSVNsrvr-1.4.4.1-sparc-local
python-2.5.1-sol10-x86-local

And always the same problem !!!!!
=>>>> httpd: Syntax error on line 53 of /etc/opt/CollabNet_Subversion/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: /usr/local/apache2/modules/libphp5.so: wrong ELF class: ELFCLASS32

have i forgot something for php ???
i jus modify the httpd.conf adding 2 lines and moving the php.ini ? is there some compilation to do ?

thx, please help ...

a+








---------[ Received Mail Content ]----------

Subject : Re: PLease help : Collabnet Subversion + webSVN + php

Date : Wed, 9 Jan 2008 04:12:22 -0600

From : Ryan Schmidt <subversion-2007b@ryandesign.com>

To : Mehdi Mehdi <mehdi_c@lycos.com>

Cc : Subversion Users <users@subversion.tigris.org>



Please use the Reply All feature of your email program when you

reply, so that the discussion stays on the list.





On Jan 9, 2008, at 03:25, Mehdi Mehdi wrote:



>> On Jan 8, 2008, at 08:19, Mehdi Mehdi wrote:

>>

>> > I have a problem with subversion on solaris 10 ...

>> > please help and sorry for my english ... :)

>> >

>> > Installing collabnet subversion ( pack installed with apache)

>> > Installing webSVN and so php and mod_php

>> > when rebooting the apache server the error below :

>> >

>> > wrong ELF class: ELFCLASS32". with the libphp5.so and apache can

>> start

>> >

>> > what can i do ??? collabnet subversion support php ???

>>

>> subversion and php are not related to one another. It sounds like you

>> have an incorrect libphp5.so module but I'm not sure. Does libphp5.so

>> work properly by itself, if you don't load mod_dav_svn? If it still

>> doesn't work, then you have a php problem and need to consult a php

>> list.

>>

>> If php does work by itself, just not when you also load mod_dav_svn,

>> then maybe the order of loading the modules is relevant. Try

>> reversing the order.

>

> the error is :

>

> httpd: Syntax error on line 53 of /etc/opt/CollabNet_Subversion/

> conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so

> into server: ld.so.1: httpd: fatal: /usr/local/apache2/modules/

> libphp4.so: wrong ELF class: ELFCLASS32



Oh I see. "CollabNet Subversion" includes Apache 2? I had no idea.

I've never used "CollabNet Subversion"; I've just used plain old

Subversion.





> i have install collabnet subversion CSVNclnt-1.4.4.1-sparc-local

> and CSVNsrvr-1.4.4.1-sparc-local and i have apache 2.0.53 installed

> with wollabnet subversion ..

>

> what version of php do i have to install ?



I don't know. Wait.... I thought you had libphp5.so before? Now you

have libphp4.so? Anyway, it's not the version of PHP; it's the way

it's built.





> thanx in advance, and thx for your support ...

>

> P.S : on the net they say that ELFCLASS32 is that we try to link a

> 32 bit lib to a 64 and it 's not ok



Ok... so which one is your libphp4.so -- 32-bit or 64-bit? And which

is "CollabNet Subversion"? And which is your server's processor?

Presumably these should all match.



Did you compile your PHP library yourself or download a pre-compiled

binary from somewhere? If the latter, you may want to try building it

yourself.



--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on 2008-01-09 16:50:11 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.