Magari è un problema di short open tags. Non è che usi <? anzichè <?php