Re: [PHP4BETA] standalone php4 does no longer show warnings.
| From: | Thies C. Arntzen | Date: | Tue, 19 Oct 1999 17:45:33 +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-5577@lists.php.net to get a copy of this message | ||
BTW my apache error_log now shows:
[Tue Oct 19 18:33:01 1999] [error] <br>
<b>PHP Warning</b>: Undefined variable: FoundIndex in
<b>/dot/dgs/tim/phpsite/functions/findvalinarray.fnc</b> on line
<b>24</b><br>
instead of:
[Tue Oct 19 18:33:01 1999] [error] Undefined variable: FoundIndex in
/dot/dgs/tim/phpsite/functions/findvalinarray.fnc on line 24
i have php log into apache's error_log.
tc
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
> * 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