E
E
evil0o2017-03-07 11:51:56
linux
evil0o, 2017-03-07 11:51:56

How to display the log of the cli php script both in the log file and in the console?

I register in php.ini

log_errors = On
error_log = /var/log/php_errors.log

and the log starts to be written to a file, but stops to the console.
How to make it both in the console and in the log file.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question