in PHP.INI, I can set the variable “error_log” and it is currently set to “error_log”, which manes one file of that name in each directory
Do you know … if I set it to “public_html/error_log” – will I get only one single error log file? Any other way to do so? I really just want a single site-wide error file to check, rather than one on each sub-directory.
For bonus marks, can I send myself an email each time a new entry is added to the file?
Left as an exercise for the reader – can I ignore some “errors” which aren’t really?
If you’re running PHP under Apache, you can set php directives in
.htaccessfile, so per site or even per directory, see http://php.net/manual/en/configuration.changes.php