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.