I'm not sure if this question belongs here or StackOverflow...
Some time ago I wrote a web app using Zend Framework and since then it ran flawlessly on a standard shared hosting (lampp stack). I bought a VPS and set up a few sites without a problem using NGINX and PHP-FPM. I decided to migrate the mentioned site to the new server - ZF doesn't render layout or any templates. It just prints the layout.phtml file without interpreting the code in it. There aren't any errors in the logs. The version in Zend/Version.php says '1.7.1'.
The first thing that comes to mind is the version of PHP but it is 5.x - the same that was running on the shared hosting. I'm completely clueless here.
Should I upgrade to latest ZF? What would you do to debug it?
Your templates probably use short opening tags
<?
or<?=$foo
versus<?php
or<?php echo $foo
. This is turned off by default in PHP 5.3 (possibly earlier) so you have enable it in your php.ini file.