Enable per-module logging in Apache 2.4+

This commit is contained in:
Martin Vobruba 2016-05-24 18:13:00 +02:00 committed by Anatol Belski
parent ff90d8e0ba
commit 1ed544d05b

View file

@ -24,10 +24,16 @@
#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "php.h"
#include "main/php_streams.h"
/* Enable per-module logging in Apache 2.4+ */
#ifdef APLOG_USE_MODULE
APLOG_USE_MODULE(php7);
#endif
/* Declare this so we can get to it from outside the sapi_apache2.c file */
extern module AP_MODULE_DECLARE_DATA php7_module;