-1

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.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972

1 Answers1

1

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

Nathan C
  • 15,059
  • 4
  • 43
  • 62