Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8524451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:41:24+00:00 2026-06-11T07:41:24+00:00

As a prelude, I know what a HTTP 500 is, and I know how

  • 0

As a prelude, I know what a HTTP 500 is, and I know how to fix them.

On PHP 5.3, i’m running a production environment with show_errors off. When there are any fatal errors, the user gets a plain white 500 page in response. I’m trying to create a 500 error page just in case there any any errors; just so it is more user friendly.

I used to be able to do

ErrorDocument 500 500.html

It doesn’t seem to be working anymore, however – even thought my 404

ErrorDocument 404 404.html

Works fine.

Curious to see solutions regarding this –
Thank you for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:41:26+00:00Added an answer on June 11, 2026 at 7:41 am

    Fatal errors don’t produce 500 errors in and of themselves, they would return 200 with blank page typically (if no output had been flushed to browser at the point of the error) . Plus this will not help you anyway, as Apache would be no longer involved when PHP is having the error.

    Maybe you could register a shutdown function to send 500 header (to get 500 result) and display the content you want to display.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the code (Euclid's algorithm for GCD). Of course there is Prelude.gcd but
I know you can convert a String to an number with read : Prelude>
Is there a trick or a prelude function to test if a list contains
Is there a good reason why the type of Prelude.read is read :: Read
Is there some reason why the Prelude doesn't define the list monad like this?
There are some stdlib functions that throw errors on invalid input. For example: Prelude>
Is there a difference between these two functions? ghct says: Prelude> :t (+1) (+1)
In Prelude, > :load foo.hs > -- before edit > :edit foo.hs ... Edit
In GHCi: Prelude> error (error ) *** Exception: Prelude> (error . error) *** Exception:
I have such code: Prelude> let n = [1,2,3,4] Prelude> n [1,2,3,4] Prelude> 0:n

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.