RE: 32 bit Apache2.2.11 on 64 bit RHEL5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

 

\Vinay

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

From: Matthew A. Bockol [mailto:mbockol@xxxxxxxxxxxx]

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

To: users@xxxxxxxxxxxxxxxx

Subject: Re: 32 bit Apache2.2.11 on 64 bit RHEL5.2

 

 

Hi Vinay,

 

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

From: "Vinay Purohit" <Vinay.Purohit@xxxxxxxxxx>

To: users@xxxxxxxxxxxxxxxx

Sent: Friday, January 2, 2009 10:44:09 AM GMT -06:00 US/Canada Central

Subject: 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 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).

 

Matt

 

---------------------------------------------------------------------

The official User-To-User support forum of the Apache HTTP Server Project.

See <URL:http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx

   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx

For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

 

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux