This is actually a two part question. I've got a LAMP configuration and a web site that relies heavily on the error_log functionality built into PHP. The error log is growing rather large in size.
My first question is can I configure PHP (php.ini) to output these error messages to the Apache error log file?
If I can't, my second question is how can I rotate the PHP error log once a day? Is it possible to pipe the PHP error log to Cronolog (like you can in apache) or another log rotator? I'd like to stick with Cronolog if at all possible.
Thanks in advance.