PHP 7.3 Cannot Display Errors
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?
-
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. 0 -
The web server error log is somewhere to check - also if you're looking to display errors you need to ensure that you're adding this setting correctly if you're running php-fpm How to Manage Your php.ini Directives with PHP FPM | cPanel & WHM Documentation 0
Please sign in to leave a comment.
Comments
2 comments