How do I get PHP errors to display?

orellabair 165 25th Jan, 2019

                         This always works for me:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
However, this doesn't make PHP to show parse errors - the only way to show those errors is to modify your php.ini with this line:

display_errors = on
To share this paste, please copy this url and send to your friends.
RAW Paste Data