3:08:18 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] cgi script error output logging
Hi Petr,
Thank you for your help. I tried your tests on [1]. I tested everything wiht
apache 2.4.25 and mod_fcgid 2.3.9 and apache 2.4.25 and mod_cgi. In both cases
I get the same behaviour
Gajdos
Sent: Friday, May 12, 2017 10:37:17 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] cgi script error output logging
On Fri, May 12, 2017 at 09:16:29AM +0200, Petr Gajdos wrote:
> Hi,
>
> On Thu, May 11, 2017 at 08:07:28AM +, KASPAR Sandro wrote:
> > Hi suomi,
&g
On Fri, May 12, 2017 at 09:16:29AM +0200, Petr Gajdos wrote:
> Hi,
>
> On Thu, May 11, 2017 at 08:07:28AM +, KASPAR Sandro wrote:
> > Hi suomi,
> >
> >
> > Thank you for your answer. Unfortunately I am not using php-fpm but fcgid.
> > As
>
> JFYI, simple example [0] had shown that for me
Hi,
On Thu, May 11, 2017 at 08:07:28AM +, KASPAR Sandro wrote:
> Hi suomi,
>
>
> Thank you for your answer. Unfortunately I am not using php-fpm but fcgid. As
JFYI, simple example [0] had shown that for me it does work with
mod_cgi (tested with 2.4.25).
Petr
[0] https://github.com/pgajdo
, the ErrorLogFormat is not applied to log lines generated by cgi
scripts.
The apache version I am using is 2.4.25.
Sandro
From: Luca Toscano
Sent: Thursday, May 11, 2017 2:53:35 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] cgi script error outpu
ot using php-fpm but fcgid.
> As far as I know there is no such possibility in fcgid.
>
> Any other ideas?
>
>
> Sandro
>
>
> --
> *From:* fedora
> *Sent:* Thursday, May 11, 2017 6:54 AM
> *To:* users@httpd.apache.org
> *Subject:
: [users@httpd] cgi script error output logging
Hi Sandro
are you using php-fpm as a cgi frontend? If yes: the stdout and stderr
are both redirectet to the php-fpm log (/var/log/php-fpm/*) if you have
in /etc/php-fpm/www.conf:
catch_workers_output = yes
I don't think this will solve all
Hi Sandro
are you using php-fpm as a cgi frontend? If yes: the stdout and stderr
are both redirectet to the php-fpm log (/var/log/php-fpm/*) if you have
in /etc/php-fpm/www.conf:
catch_workers_output = yes
I don't think this will solve all your problems, but it is a good
starting point.
su
Hi,
According to this documentation http://httpd.apache.org/docs/2.4/logs.html
everything a cgi script sends to stderr is written to the apache error log
file.
Unfortunately I can not control those scripts running on my server and often
garbage is sent to stderr and then written to my error