Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18922
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | backtrace into error.log |
| Date | 2022-04-22 11:29 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <t3tshf$1a0j$1@gioia.aioe.org> (permalink) |
$ cat /tmp/tmp.yCbtQyetH5/test.php
<?php
function error() {
trigger_error('abc');
}
error();
$ php /tmp/tmp.yCbtQyetH5/test.php
$ tail -n 1 /var/log/error.log
[22-Apr-2022 11:21:40 Europe/Berlin] PHP Notice: abc in
/tmp/tmp.yCbtQyetH5/test.php on line 3
The backtrace is missing.
Why?
If it helps, here is a summary of php.ini:
log_errors = On
error_log = /var/log/error.log
display_errors = Off
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 11:29 +0200
Re: backtrace into error.log Jerry Stuckle <stuckle.jerry@gmail.com> - 2022-04-22 10:08 -0400
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 16:59 +0200
Re: backtrace into error.log Arno Welzel <usenet@arnowelzel.de> - 2022-04-22 18:34 +0200
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 19:14 +0200
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 19:30 +0200
Re: backtrace into error.log Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2022-04-23 07:24 +0000
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-23 15:33 +0200
Re: backtrace into error.log Kristjan Robam <kristjanrobam1983@outlook.com> - 2023-10-14 04:01 -0700
csiph-web