[PHP-DEV] Bumping minimum Apache version to 2.4

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: Apache 2.2 users, your time is running out.

In this pull request, support for Apache 2.0 and 2.2 is being removed:

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.

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: Apache 2.2 users, your time is running out.

In this pull request, support for Apache 2.0 and 2.2 is being removed:
Remove support for EOL Apache 2.0 and 2.2 in favor of 2.4+ by petk · Pull Request #14664 · php/php-src · GitHub

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

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: Apache 2.2 users, your time is running out.

In this pull request, support for Apache 2.0 and 2.2 is being removed:
Remove support for EOL Apache 2.0 and 2.2 in favor of 2.4+ by petk · Pull Request #14664 · php/php-src · GitHub

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