How to show all errors in php?
Without editing php.ini it is possible to display almost all errors in php by adding following 3 lines of codes on the top of the php page:
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
Hope it helped you. If it helped please do not forget to comment below. Thanks.
Recent Comments