strange, my php scripts when execute, if there is any syntax error, i have to open and see the error_log in server’s script folder. The screen shows only
This page isn’t working
example.com is currently unable to handle this request.
HTTP ERROR 500
The above is shown for the following error loged in error_log,
[12-Dec-2018 17:27:39 UTC] PHP Parse error: syntax error, unexpected ‘}’, expecting ‘,’ or ‘;’ in /home/accessto/public_html/demo3/admin/content/dashboard/pages/client_admin/photo_manager/add_pkg_photo.php on line 86
my declaration as follows
<?php error_reporting(E_ALL); error_reporting(-1); ini_set('display_errors', 'true');
i want errors to show on screen for easy troubleshooting. but can turn off when site is launched. so what configuration i need to adjust?