# Custom Error Handling

**URL:** <https://forum.kirupa.com/t/custom-error-handling/256646>\
**Category:** programming\
**Created:** [April 5, 2008, 2:39am UTC](https://forum.kirupa.com/t/custom-error-handling/256646 "2008-04-05T02:39:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icy\_Penguin](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Post date:** [April 5, 2008, 2:39am UTC](https://forum.kirupa.com/t/custom-error-handling/256646/1 "2008-04-05T02:39:01Z")

</div>

Howdy Kirupians,

Was wondering if there is a simple way to redirect PHP errors to a different page rather than having them display inline on the page.

I have something similar going on with my mysql errors, which redirect to an error page which displays those errors - but was wondering how to detect if a PHP error has been found.

Thanks 🙂
