On thing you could check is if you have used short PHP opening tag (<? instead of <?php) anywhere in your code, and if you have, make sure your new server has short_open_tag=On in php.ini
Alternatively you can make sure all your code uses <?php or <?= and no short tags.
That little thing got me quite few times.