mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Remove support for EOL Apache 2.0 and 2.2 in favor of 2.4+ (#14664)
Apache 2.2 has been marked as EOL in December 2017 and doesn't receive security patches any longer. Also, most *nix distributions and packages mostly support 2.4 as minimum by now. On Windows, this removes the configure option --enable-apache2-2handler and merges the --enable-apache2handler and --enable-apache2-4handler into a single option with favoring the --enable-apache2handler. - The upstream MODULE_MAGIC_NUMBER is deprecated in favor of MODULE_MAGIC_NUMBER_MAJOR in apache2/ap_mmn.h - The initial upstream MODULE_MAGIC_NUMBER_MAJOR was 20111025 in Apache 2.4.0 - The upstream APLOG_USE_MODULE is always available since Apache 2.3.6 - The upstream CORE_PRIVATE is unnecessary and ignored since Apache 2.4.0 See: https://forum.apachehaus.com/news-general-discussion/apache-2-2-users-your-time-is-running-out/ Discussion: https://news-web.php.net/php.internals/124067
This commit is contained in:
@@ -25,10 +25,8 @@
|
||||
#include "php.h"
|
||||
#include "main/php_streams.h"
|
||||
|
||||
/* Enable per-module logging in Apache 2.4+ */
|
||||
#ifdef APLOG_USE_MODULE
|
||||
/* Enable per-module logging. */
|
||||
APLOG_USE_MODULE(php);
|
||||
#endif
|
||||
|
||||
/* Declare this so we can get to it from outside the sapi_apache2.c file */
|
||||
extern module AP_MODULE_DECLARE_DATA php_module;
|
||||
|
||||
Reference in New Issue
Block a user