cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to display a 500 Internal Server Error Message?

Hey Everyone,

 

i'm trying to display my Servers "500 Internal Server Error Message" for hours...

 

I enabled display_errors via PHP Version Options  display_startup_errors, the error_log pat

1 REPLY 1
Helper VI

@hmgkcraesu you can use this in your php file:

 

header($(underscore)SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500);

Replace "(underscore)" with "_".

 

Hope it helps!

 

If you find my replies helpful, give me a like or kudo 🙂
And if I solved your issue, mark it as solution 😄