ricevi qualche errore? Prova a settare il livello di errore con error_reporting

http://www.php.net/manual/it/functio...-reporting.php

su E_ALL