error reporting su E_ALL nel php.ini, oppure error_reporting(E_ALL); all'inizio della pagina.