Michael Legg

Well-Known Member
Mar 2, 2015
66
4
58
New Farm, Queensland, Australi
cPanel Access Level
Website Owner
Hi Guys

I've just upgraded to PHP 7.3 and no matter what I do, PHP refuses to display errors. I've tried all of the usual things that I've been doing for the last 20 years, but I just get ...

This page isn’t working
[domain] is currently unable to handle this request.
HTTP ERROR 500

1) Adding -
error_reporting=E_ALL
display_errors=On
display_startup_errors=On
html_errors=On

to php.ini does nothing

2) Adding -
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

to individual scripts does nothing

3) Adding -
php_flag display_errors On
to the .htaccess file made Apache crash!

Is there some new trick that I need to learn to get PHP 7.3 to display errors?
 

RoseHosting

Active Member
PartnerNOC
Jan 3, 2003
26
6
153
The error 500 is a generic error message. Have you checked your domain's error log file? You can modify the webserver's error log level to get more information about it.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,268
313
Houston