Issue with Apache upgrades from 2.2 to 2.4

General support questions
Post Reply
lukelee
Posts: 1
Joined: 2018/03/14 06:30:15

Issue with Apache upgrades from 2.2 to 2.4

Post by lukelee » 2018/03/14 06:36:59

Hi all, when i tried to perform the upgrade i was unable to proceed at this point.

When I executing this command, #rpmbuild -tb apr-util-1.5.4.tar.bz2
It throws me this error: Failed build dependencies: apr-devel >= 1.4.0 is needed by apr-util-1.5.4-1.x86_64

Anyone have experience this before? Any solution to it?

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: Issue with Apache upgrades from 2.2 to 2.4

Post by remirepo » 2018/03/14 07:08:09

Why do you think you need 2.4 ?

BTW better solutions
- use CentOS 7 which have httpd 2.4 by default
or
- use httpd24 Software Collection, see https://wiki.centos.org/AdditionalResou ... tories/SCL
Remi's Repository - Forum - Blog

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

Re: Issue with Apache upgrades from 2.2 to 2.4

Post by TrevorH » 2018/03/14 15:48:47

The version of httpd that comes with CentOS 6 is 2.2.15. If you need 2.4 then either use CentOS 7 or get a packaged http 2.4 from a reputable repo, don't attempt to build it yourself. The IUS repo ships an httpd24u set of packages, SCL ships an httpd 2.4. Use one of those.

Also read the RHEL backporting pages to discover how RH backport security related fixes to the version that CentOS ships. If you are attempting to upgrade for PCI compliance then you are probably wasting your time and should point your auditors to the same info.

Please see https://access.redhat.com/security/updates/backporting/ for information on backporting of security fixes and features in CentOS and RHEL
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