add error_log handler

[error_log](http://www.php.net/manual/en/function.error-log.php) handler
to send output to webserver SAPI handler (directly or indirectly)