Upgrade apache from 2.2.3 to latest not working

Issues related to applications and software problems
Post Reply
rejoan
Posts: 1
Joined: 2017/03/12 08:37:46

Upgrade apache from 2.2.3 to latest not working

Post by rejoan » 2017/03/12 08:48:58

Hi Im new to this forum and centos. I have sucessfully installed centos 6.8. After installing apache its showing 2.2 version which is too old. Now I want to upgrade it to latest (2.4.25). I have tried as following

Code: Select all

cd /etc/yum.repos.d/
wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo
yum install httpd24.x86_64
and then tested version like

Code: Select all

httpd -v
nothing happened and its showing
Server version: Apache/2.2.15 (Unix)

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Upgrade apache from 2.2.3 to latest not working

Post by scottro » 2017/03/12 12:32:45

So, did it show that it installed after you ran that command? If not, were there any interesting things printed to the screen?

What does rpm -q httpd show?
New users should check the FAQ and Read Me First pages

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

Re: Upgrade apache from 2.2.3 to latest not working

Post by remirepo » 2017/03/12 13:51:52

Do you really need v 2.4 ?

See Software Collection which provides a maintained httpd 2.4 version (installation beside system version):
https://wiki.centos.org/AdditionalResou ... tories/SCL
Remi's Repository - Forum - Blog

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

Re: Upgrade apache from 2.2.3 to latest not working

Post by TrevorH » 2017/03/12 16:40:03

If your apache was showing 2.2.3 then you're not running CentOS 6, you're running CentOS 5 and all bets are off. It goes EOL in 3 weeks and there will be no more support for it. CentOS 6 ships apache httd 2.2.15 not 2.2.3.
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