Add this at the top of your page to show errors on a PHP page:

ini_set('display_errors', 1);
ini_set('log_errors', 1);
error_reporting(E_ALL);