As I recall, PHP CLI overrides the error_log setting and uses STDERR by design.
You'll have to re-direct it elsewhere in the shell.
Or a custom error_handler that uses a specific file name in error_log call.
Using error_log alone will not help.
--
PHP General Mailing List (http://www.
php is delivering error messages to STDERR when i call trigger_error() in
the script. i'm using the command:
php -c /usr/local/etc/php.ini -f script.php
and the config file has log_errors and error_log set correctly afaict (it
works for scripts run via apache).
is this to be expected (and hence
2 matches
Mail list logo