Software Collections Apache 2.4.25 but no HTTP/2 with Firefox

It took a bit of working out but Apache version 2.4.25 from softwarecollections.org is compiled against OpenSSL 1.0.1. Unfortunately that means it doesn’t support the ALPN TLS extensions that are required for Firefox/Chrome to use HTTP/2 with a web site.

There is a newer version in testing (2.4.27) which is compiled against 1.0.2 and that does work 🙂

The following updates a system but as it’s a non-release version you’ll need to consider whether you want to run it or not.

yum --enablerepo=centos-sclo-rh-testing update httpd24 httpd24-httpd httpd24-nghttp2 httpd24-mod_ssl httpd24-runtime httpd24-libnghttp2 httpd24-httpd-tools

This version is in testing for RHSCL version 3.0 apparently.

https://www.redhat.com/archives/sclorg/2017-October/msg00012.html

 

Apache change to ‘event’ mode

This is certainly going to make things more interesting at work for a while where we use mod_php a lot! When I say a lot I mean all bar one line of business application uses it.

https://blog.remirepo.net/post/2017/11/17/Fedora-27-changes-in-http-and-php

Switch of the Apache HTTP server in event mode

Since the first days of the distribution, the severs use the prefork MPM.

For obvious performance reasons, we choose to follow the upstream project recommendations and to use the event MPM by default.

This change is also required to have the full benefit and feature of the HTTP/2 protocol via mod_http2.

Switching the servers from prefork and mod_php to event and php-fpm going to take some work and some thinking as to how it can be scripted. We have hundreds of web sites (and PHP settings per site using php_admin_value/php_value Apache commands) and this change will make it to RHEL 8 I guess.