I'd like to log all errors encountered on the server to MySQL rather than error_log file. There is a similar question already. However, the answer suggests to integrate a custom error handler.
To be specific, I am looking for an option that could be integrated server wide (that doesn't mean prepending a file to every PHP file using php.ini settings), most likely C++ module.
- Are there any known option?
- Is it possible to create one?