[php] How to write to error log file in PHP