Alot of web host turn off error reporting. and you’ll beat your head turning to turn them back on.
here’s what worked for me - from the comments @ the php manual online
< ?ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);?>
then include what file you want to test.
Share and Enjoy:
Alot of web host turn off error reporting. and you’ll beat your head turning to turn them back on.
here’s what worked for me - from the comments @ the php manual online
< ?ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);?>
then include what file you want to test.









One Comment
I always forget how to do this. Many thanks.