Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

php.ini:

 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

1 Answer 1

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

 
discard

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.