Error handling

Am I going to have to compile my own version of PHP to take control of error handling? I’m running PHP5 and am trying to use set_error_handler and it ain’t workin’. I’ve also noticed that I can’t use in_set to change anything. Does anyone know of any work arounds or… something?