Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62084 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34487 invoked from network); 8 Aug 2012 19:38:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2012 19:38:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gh0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:43003] helo=mail-gh0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/E1-29512-E40C2205 for ; Wed, 08 Aug 2012 15:38:54 -0400 Received: by ghbg24 with SMTP id g24so1357567ghb.29 for ; Wed, 08 Aug 2012 12:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LmzKqJ/2ETTGx8QJ4a0ML2PFoOk/YAcw3+Ot7/MkDXk=; b=ysL5OViumrm1HlghdGksHNKbqeKSB7NY6IggrVdZQQyNw9rCP4d5bHB0nAYh4Wanq2 TGQaLpfxnWOd8wBEcsXFiURicjRddCZbZ98csttjdauV1tZrBI3msA9EBQTH38anW4Ho P+YdH9InE0AS0ikZLnoOQt3gplCkXJFAWyLXk8NzUHaz8jXZ3yWCab0nfmB1/aHOKsRt ono/MfuIaII47MJqGm+lYpY+8Jv8WRmHyNNhKWL3UEuk97uqEZ3v3E8jvD1xVpJDyWdl H9zHgZvVT3AGpL1Ssg6LJL3E+M3xx8DxTOFc3Ri7h9Bm08Kz9IwNEfYh5Y2DsorenaGd Clkw== MIME-Version: 1.0 Received: by 10.50.56.170 with SMTP id b10mr112007igq.19.1344454731081; Wed, 08 Aug 2012 12:38:51 -0700 (PDT) Received: by 10.64.137.101 with HTTP; Wed, 8 Aug 2012 12:38:50 -0700 (PDT) In-Reply-To: <1344290352-10556-1-git-send-email-crrodriguez@opensuse.org> References: <1344290352-10556-1-git-send-email-crrodriguez@opensuse.org> Date: Wed, 8 Aug 2012 21:38:50 +0200 Message-ID: To: =?ISO-8859-1?Q?Cristian_Rodr=EDguez?= Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH] Fix per-module logging in apache 2.4 From: pierre.php@gmail.com (Pierre Joye) hi Chirstian! Could you please either (or both :) open a bug and attach the patch to it or create a pull request please? Thanks for your work! Cheers, On Mon, Aug 6, 2012 at 11:59 PM, Cristian Rodr=EDguez wrote: > --- > sapi/apache2filter/sapi_apache2.c | 3 +++ > sapi/apache2handler/mod_php5.c | 4 ++++ > 2 files changed, 7 insertions(+) > > diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_= apache2.c > index 0b51cfb..a8fec5c 100644 > --- a/sapi/apache2filter/sapi_apache2.c > +++ b/sapi/apache2filter/sapi_apache2.c > @@ -744,6 +744,9 @@ static size_t php_apache_fsizer_stream(void *handle T= SRMLS_DC) > return 0; > } > > +#ifdef APLOG_USE_MODULE > +APLOG_USE_MODULE(php5); > +#endif > AP_MODULE_DECLARE_DATA module php5_module =3D { > STANDARD20_MODULE_STUFF, > create_php_config, /* create per-directory config st= ructure */ > diff --git a/sapi/apache2handler/mod_php5.c b/sapi/apache2handler/mod_php= 5.c > index 9df4f25..35d5548 100644 > --- a/sapi/apache2handler/mod_php5.c > +++ b/sapi/apache2handler/mod_php5.c > @@ -25,6 +25,10 @@ > #include "php.h" > #include "php_apache.h" > > +#ifdef APLOG_USE_MODULE > +APLOG_USE_MODULE(php5); > +#endif > + > AP_MODULE_DECLARE_DATA module php5_module =3D { > STANDARD20_MODULE_STUFF, > create_php_config, /* create per-directory config st= ructure */ > -- > 1.7.10.4 > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org