Upgrade Apache 2.4.6 to later version

Issues related to applications and software problems
Post Reply
djxtc
Posts: 5
Joined: 2012/03/10 17:19:38

Upgrade Apache 2.4.6 to later version

Post by djxtc » 2018/12/09 23:21:24

Im running Centos 7.4.1708 and Apache 2.4.6.

I would like to upgrade to a later version of Apache. What would be the best way to do that? I would like to keep my config files

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Upgrade Apache 2.4.6 to later version

Post by chemal » 2018/12/10 00:15:39

The httpd24 software collection currently contains 2.4.34. It does not upgrade the system httpd, it will install in parallel.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrade Apache 2.4.6 to later version

Post by TrevorH » 2018/12/10 00:17:57

You do know that the CentOS httpd 2.4.6 is not exactly 2.4.6 and contains features backported from newer versions? Perhaps whatever you're looking for is already present - you can check by using rpm -q --changelog httpd to see if that mentions anything.

In addition, you can find newer httpd versions available in both IUS and SCL repos.

Code: Select all

httpd24-httpd.x86_64                                            2.4.34-7.el7                               centos-sclo-rh  
httpd24u.x86_64                                                 2.4.35-1.ius.centos7                       ius             
For a non-biased write-up of various methods to get newer packages on CentOS please see https://www.hogarthuk.com/?q=node/15
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

djxtc
Posts: 5
Joined: 2012/03/10 17:19:38

Re: Upgrade Apache 2.4.6 to later version

Post by djxtc » 2018/12/10 21:26:55

This is what my server says:

cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)

httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Oct 19 2017 20:39:16

rpm -q --changelog httpd
* Thu Oct 19 2017 CentOS Sources <bugs@centos.org> - 2.4.6-67.el7.centos.6
- Remove index.html, add centos-noindex.tar.gz
- change vstring
- change symlink for poweredby.png
- update welcome.conf with proper aliases

and then returns a lot of other posts to, but this is the latest one.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrade Apache 2.4.6 to later version

Post by TrevorH » 2018/12/10 22:15:04

CentOS Linux release 7.4.1708 (Core)
7.6 is current, 7.4 is 18 months out of date.

Likewise current is httpd-2.4.6-88.el7.centos.x86_64

It's the other entries in the changelog after the first one (which is always the same one for CentOS, documenting what changes were made to debrand it from the RHEL version).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply