If your server is causing the ipn_main_handler.php file to trigger a 500 error, you'll have to deal with your server administrator to find out the cause. "500" errors are defined by the server, not Zen Cart.