Was putting a local version of a (joomla) site on a laptop yesterday for a customer, and it just wouldn’t work. I scratched my head for hours, and finally discovered that short_open_tag was off (i.e. short_open_tag = Off in php.ini) – which meant that any code enclosed with <? ?> or <?= ?> was just sent to the browser rather than parsed as php. Turned on short_open_tag and hey presto it worked
I had just downloaded and installed the latest version wamp server (5.1.7.4), so short_open_tag must be off by default when you install it – something to watch out for.
Tags: joomla, wamp server