Upgrade Apache 2.2 to 2.4

I would like to upgrade apache 2.2 to 2.4.

I am not very skilled with this kind of work so mostly rely on tutorials. Ive been able to get quite far following tutorials.

Its been a few years since ive had to do any major changes to my server. Since most tutorials now seem to assume I have apache 2.4 I figured its time to upgrade.

Are their any tutorials available for upgrading apache 2.2 to 2.4? I cant seem to find anything available.

3 Replies

The official documentation is probably the best place to start:

http://httpd.apache.org/docs/2.4/upgrading.html

I remember doing this and the biggest change for me personally was the access rules like “Order deny,allow” and related directives becoming “Require…”.

If you are using Ubuntu and the released version of the package(s) containing apache2(8) will only give you v2.2, you'll have to install a PPA with v2.4 (with all the usual warnings/caveats about using PPAs).

-- sw

If you are using Ubuntu and the released version of the package(s) containing apache2(8) will only give you v2.2…

Ubuntu 16.04 was the first LTS to ship with Apache 2.4 - which has just gone end of life in the last couple of weeks, after 5 years of service.

If you’re on an Ubuntu version that only has 2.2 in the official packages, you’ll want to look at an OS upgrade, as your OS has been end of life for some time!

In which case it would probably be simpler to spin up a brand-new Linode, re-create your Apache config in the new version, and migrate your stuff across.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct