Re: [PHP4BETA] standalone php4 does no longer show warnings.
| From: | Thies C. Arntzen | Date: | Tue, 19 Oct 1999 17:26:51 +0000 |
| Subject: | Re: [PHP4BETA] standalone php4 does no longer show warnings. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5576@lists.php.net to get a copy of this message | ||
On Tue, 19 Oct 1999, Andrei Zmievski wrote:
> Thies C. Arntzen wrote:
> > On Tue, 19 Oct 1999, Zeev Suraski wrote:
> >
> > > I missed the diff - what changed?
> >
> > main.c:336
> > #if 0 /* new ... */
> > #if CGI_BINARY
> > if (php3_header()) {
> > fprintf(stderr, log_message);
> > fprintf(stderr, "\n");
> > }
> > #endif
> > #endif /* new ... */
> >
> > so unless you don't have "display_errors=1" you wont get any error message
> printed in standalone mode -
>
> Which makes sense. If you have log_errors=0 an display_errors=0, you will not
> get any error output.
andrei -
but i have log_errors=1 and display_errors=0 - i think in CGI_BINARY mode
that should result in errors written to <stderr> unless a error_log is set
to a valid file name.
that way one can still use *one* php.ini for both CGI_BINARY (errors in
<stderr> for debugging) and SAPI (apxs) (errors in apache's error_log)
hmm,
what do you think?
tc
>
> -Andrei
> * Programming is an art form that fights back. *
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany