NYCPHP Meetup

NYPHP.org

[nycphp-talk] 32bit vs AMD 64 versions of Apache and shared objects

Daniel Krook krook at us.ibm.com
Tue Mar 1 10:54:24 EST 2005


>> how would I compile a 32-bit version of libphp5.so on AMD 64 so that 
the
>> 32-bit version of IHS can use it?

> You basically need to compile against the 32bit libs, which it probably 
is 
> doing already, since you're not using PHP 5.1.  But then, to get it to 
> link for 32bit, I'm not sure - possibly try 
--target=x86-unknown-linux-gnu 
> in your ./configure.

> Would be interested to hear what happens :)


An update... I'm still working this one out.  The --target flag didn't 
seem to have any effect.  I tried PHP 4.3.10, 5.0.3, and the latest 5.1 
snapshot, all the same result.  I'll post more information as I try some 
more things later today.

Also, though it's material for another post, I was getting the same errors 
w/ phpMyAdmin segfaulting as this post from a few months back, on both 
SuSE and FC 3... If that confirms anything for the original poster.
http://lists.nyphp.org/pipermail/talk/2004-December/013311.html 





Daniel Krook, Advisory IT Specialist - Application Development
WW Web Production Services North 2, ibm.com
1133 Westchester Avenue, White Plains, NY 10604

Personal: http://info.krook.org/
Persona: http://w3.ibm.com/eworkplace/persona_bp_finder.jsp?CNUM=9A9796897





More information about the talk mailing list