0

Whenever php content is accesed , File named error_log has been created with following contents repeatedly.

[25-Apr-2015 09:20:55 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_exif.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_exif.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[25-Apr-2015 09:20:55 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_exif.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/php_exif.dll: cannot open shared object file: No such file or directory in Unknown on line 0

I want to disable this file from creation. I tried to log_errors = Off in /usr/local/lib/php.ini , Still this error_log is getting created.

Vishnu
  • 2,372
  • 6
  • 36
  • 58
  • 1
    How about just fixing your misconfigured php.ini instead of disabling the *entire error log*? You are effectively asking "how to shoot the messenger" instead of listening to what the messenger has to tell you. Fix what the messenger tells you. – Gordon Apr 25 '15 at 09:37
  • Not sure but maybe there's a `log_errors = On` configuration that overwrites your `local/lib/php.ini`? – Ofir Baruch Apr 25 '15 at 09:38

0 Answers0