Re: [docker] error_log() not write inside web page
SupaPlex <[email protected]>
| Newsgroups | comp.lang.php |
|---|---|
| Organization | Aioe.org NNTP Server |
| Message-ID | <[email protected]> |
Il 29/11/22 21:20, Arno Welzel ha scritto: > Because error_log() does not produce any output: > > <https://www.php.net/manual/en/function.error-log.php> > > "error_log — Send an error message to the defined error handling routines" > > And the error handling routines may not send the log message to the > output but only to the error log which is *not* send via HTTP to the client. > > Next time please read the PHP manuals first, before asking here. Practically error_log() varies its behavior based on the API server (https://www.php.net/manual/en/function.php-sapi-php)?