There are a few things you can do to keep your errors from showing up in your header. If you have access to make changes to your php.ini you can configure your error log so that all of your php errors can be logged there and set display errors to false. These can also be set in your ep.php file at the very top using the ini_set function.
Another solution is to configure your own error handler using http://www.php.net/manual/en/function.set-error-handler.php
You can then open a terminal and use "tail -f /my/log/file/location" to actively monitor your errors.