PHP log will not ignore repeated errors with ignore_repeated_errors = On

Although I have instructed php to only log the error once - I see the error again and again in my log file. Any ideas why this directive would be ignored? I restarted apache etc.

+5
source share
2 answers

This directive only stops reporting an error in the same script run. When the same script is run multiple times, you will still see this error every time.

+8
source

ignore_repeated_errors, ignore_repeated_source ini. , , .

PHP :

ignore_repeated_source - . .

+4