Search code examples
phpdirectiveerror-logging

PHP log will not ignore repeated errors with ignore_repeated_errors = On


Although I have instructed php to only log an error once - i see the error over and over again in my log file. Any ideas why this directive would get ignored? I've restarted apache, etc.


Solution

  • This directive will only stop the error from being logged again within the same script run. When the same script is run multiple times, you will still see that error every time.