I needed to change off display_errors during my production atmosphere during my php ini file and save errors inside a log file rather. After trying for hrs with no success I made the decision to request for suggestions.
Things I did:
within the loaded ini file based on php info:
display_errors = Off log_errors = On error_log = /var/log/apache2/php.errors error_reporting=E_ALL (file exists, is writable and chown to apache user www-data)
Produced an fatal error, function undefined.
checked the log file but nothing got saved, the log file is 0kb
In phpinfo() I've error_confirming=30711
Any suggestions? Did I miss something?
I'd this exact same problem, the log works when you purchase syslog on php.ini