Dovresti guardare nel file error_log
oppure inserire
error_reporting(E_ALL);
nel tuo script