Page 1 of 1

Replace 64 Bit Http Apache with 32 bit version

Posted: 2010/04/12 00:59:44
by asawyer13
I need to use a 32 bit module on my Centos 5.4 64 bit server.

How can I uninsatll or downgrade my 64 bit Apache with the 32 bit version?

Thanks
Alan

Replace 64 Bit Http Apache with 32 bit version

Posted: 2010/04/14 21:52:10
by pschaff
Unlike many packages that have both i386 and x86_64 versions, httpd comes only in x86_64. Perhaps you can tell us what capability you need that you do not believe will work with the supplied Apache and someone can suggest an approach or an alternative.

Re: Replace 64 Bit Http Apache with 32 bit version

Posted: 2010/04/15 00:02:06
by scottro
It seems there are i386 packages--though if you search all repos on a 64 bit machine, you won't get them.

http://mirror.centos.org/centos-5/5.4/os/i386/CentOS/

Am I missing something obvious?

(Although I see it's 2.2.3 and I have 2.2.8)

Re: Replace 64 Bit Http Apache with 32 bit version

Posted: 2010/04/15 00:45:32
by pschaff
Let me rephrase that.
Unlike many packages that have both i386 and x86_64 versions [b]for multi-arch installs[/b], httpd comes only in x86_64 [b]for "$basearch == x86_64"[/b].

Not sure where 2.2.8 comes from:[code]
]# yum info httpd
Loaded plugins: allowdowngrade, downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
Excluding Packages from CentOS-5 - Plus
Finished
43 packages excluded due to repository priority protections
Installed Packages
Name : httpd
Arch : x86_64
Version : 2.2.3
Release : 31.el5.centos.4
Size : 3.3 M
Repo : installed
Summary : Apache HTTP Server
URL : http://httpd.apache.org/
License : Apache Software License
Description: The Apache HTTP Server is a powerful, efficient, and extensible
: web server.
[/code]

CentOS 5.5 will come with httpd-2.2.3-43.el5.centos

The only really "safe" way (IMNSHO :-) ) to get an i386 httpd is to reinstall a 32-bit OS version.