httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew A. Bockol" <>
Subject Re: [users@httpd] 32 bit Apache2.2.11 on 64 bit RHEL5.2
Date Fri, 02 Jan 2009 16:55:24 GMT

Hi Vinay,

----- Original Message -----
From: "Vinay Purohit" <>
Sent: Friday, January 2, 2009 10:44:09 AM GMT -06:00 US/Canada Central
Subject: [users@httpd] 32 bit Apache2.2.11 on 64 bit RHEL5.2 

>1) How to find the existing apache web server mode? (running command 'file httpd' from
Apache -> >bin will give the mode. Is it correct?)

Yes. ldd /usr/sbin/httpd will also confirm that, showing you that it's been linked to /lib64/

>2) If we install Apache web server 2.2 on 64 bit RHEL5.2, what will be its mode by default
i.e., >default installation mode?

It will be 64 bit by default.  You could probably install the httpd packages from 32bit RHEL5.2
and they would work so long as you included all of the other 32 bit dependencies (and dependencies
of dependencies). 

>3) Can we convert its mode from 64 bit to 32 bit? i.e., is it possible to have Apache
web server >in 32 bit mode on 64 bit RHEL? 

You can't convert a binary from 64 to 32 bit, but you could either install the 32 bit packages
or build a 32bit httpd on 64 bit RHEL5.2

>4) If possible, how to do it?

I used the following config line to build 32 bit httpd on 64 bit RHEL:

./configure CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=m32 FCFLAGS=-m32 --prefix=/usr/local/httpd-2.2.11-32bit
{plus any further configs you need}

That should give you a 32 bit httpd. Note that you'll need to do similar for any modules you
compile against it (can't link 64 bit PHP to 32 bit httpd for instance).


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message