<?php
header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500);
// You can also try:
// http_response_code(500);
?>
<?php
header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500);
// You can also try:
// http_response_code(500);
?>