V
V
Vladimir Maltsev2015-09-28 16:26:32
PHP
Vladimir Maltsev, 2015-09-28 16:26:32

How to disable PHP message: PHP Notice entry in nginx?

The logs whistle Notice from PHP that I don't need, how can I turn them off?
We write in the config error_log /home/log/www/error.log warn;
All the same, they are pouring.
I need to write only critical php errors to the log

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nonlux, 2015-09-28
@mrhard

in nginx there is no way
in php.ini
php.net/manual/ru/errorfunc.configuration.php#ini....
but in general it's bad, it's better to get tired of it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question