Bumping minimum Apache version to 2.4

php.internals

Peter Kokot

2 years ago
Hello, Perhaps you're not aware that the PHP build system currently still supports building apache2handler SAPI for Apache 2.0 and 2.2 branches. Apache 2.2 has been marked as EOL in December 2017 and doesn't receive security patches. Also, most Linux distributions and packages mostly support 2.4 as minimum by now. See: https://forum.apachehaus.com/news-general-discussion/apache-2-2-users-your-time-is-running-out/ In this pull request, support for Apache 2.0 and 2.2 is being removed: https://github.com/php/php-src/pull/14664 In Autotools build system, there isn't much changed except the version is checked, on Windows there will be configure option --enable-apache2-2handler removed and --enable-apache2-4handler becomes an alias of --enable-apache2handler configure option. Let me know if you find any server that can't or hasn't been upgraded to Apache 2.4 yet and if this should be postponed after PHP 8.4, otherwise merge is on its way for PHP 8.4.

Niels Dossche

2 years ago
On 30/06/2024 00:58, Peter Kokot wrote:
> Hello, > > Perhaps you're not aware that the PHP build system currently still > supports building apache2handler SAPI for Apache 2.0 and 2.2 branches. > Apache 2.2 has been marked as EOL in December 2017 and doesn't receive > security patches. Also, most Linux distributions and packages mostly > support 2.4 as minimum by now. > > See: https://forum.apachehaus.com/news-general-discussion/apache-2-2-users-your-time-is-running-out/ > > In this pull request, support for Apache 2.0 and 2.2 is being removed: > https://github.com/php/php-src/pull/14664 > > In Autotools build system, there isn't much changed except the version > is checked, on Windows there will be configure option > --enable-apache2-2handler removed and --enable-apache2-4handler > becomes an alias of --enable-apache2handler configure option. > > Let me know if you find any server that can't or hasn't been upgraded > to Apache 2.4 yet and if this should be postponed after PHP 8.4, > otherwise merge is on its way for PHP 8.4.
+1 from me, it's been EOL for almost 7 years and I strongly believe we shouldn't keep supporting EOL software for long. Niels

Gina P. Banyard

2 years ago
On Saturday, 29 June 2024 at 23:58, Peter Kokot <petk@php.net> wrote:
> Hello, > > Perhaps you're not aware that the PHP build system currently still > supports building apache2handler SAPI for Apache 2.0 and 2.2 branches. > Apache 2.2 has been marked as EOL in December 2017 and doesn't receive > security patches. Also, most Linux distributions and packages mostly > support 2.4 as minimum by now. > > See: https://forum.apachehaus.com/news-general-discussion/apache-2-2-users-your-time-is-running-out/ > > In this pull request, support for Apache 2.0 and 2.2 is being removed: > https://github.com/php/php-src/pull/14664 > > In Autotools build system, there isn't much changed except the version > is checked, on Windows there will be configure option > --enable-apache2-2handler removed and --enable-apache2-4handler > becomes an alias of --enable-apache2handler configure option. > > Let me know if you find any server that can't or hasn't been upgraded > to Apache 2.4 yet and if this should be postponed after PHP 8.4, > otherwise merge is on its way for PHP 8.4.
I am also in favour of removing support for this in PHP 8.4. Best regards, Gina P. Banyard