If you see a blank page instead of showing errors when running PHP scripts, PHP is not enabled to show errors.
This can be enabled by modifying configuration files, php.ini for the whole server or website. But for individual pages or sites using any frameworks may use this method to display errors.
Add the following lines at the top of the PHP script or page.
ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
Please follow and like us: