httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Purohit" <>
Subject RE: [users@httpd] 32 bit Apache2.2.11 on 64 bit RHEL5.2
Date Tue, 06 Jan 2009 14:45:32 GMT
Thanks Matt!!!


Is there any way to find the path for httpd? In my Application I asked
the path for httpd.conf, is there any way to reach httpd with that to
find out the apache web server mode? I assume the httpd.conf file may
not necessary be in <ApacheRoot>/conf folder and hence I can NOT go
to../bin from the location of httpd.conf, right?


I would like to avoid asking the path for httpd along with httpd.conf. I
may search the httpd but there could be many httpd running in various
modes, right?



-----Original Message-----

From: Matthew A. Bockol [] 

Sent: Friday, January 02, 2009 10:25 PM


Subject: Re: [users@httpd] 32 bit Apache2.2.11 on 64 bit RHEL5.2



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/ libraries.



>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


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

See <URL:> for more info.

To unsubscribe, e-mail:

   "   from the digest:

For additional commands, e-mail:



View raw message