Fix rack-legacy error page on php exception

php-cgi exists with a non-zero status if an exception occurred. I'd rather see PHP's output than a rack-legacy error page because the exception could be handled properly.