mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Enable per-module logging in Apache 2.4+
This commit is contained in:
parent
ff90d8e0ba
commit
1ed544d05b
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue