Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to fix this problem for 4 days now. If there is a error in my php file it's throwing a 500 internal server error.


 display_errors = On
   Default Value: On
   Development Value: On
   Production Value: Off

I want it so it shows the errors on the page and not in the log file. In the log file I see there is missing a ; but I want that to show on the page.

share|improve this question

You also need error_reporting = 2147483647 in your php.ini file. This will force a display of all errors.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.