This thread looks old, but if anyone stumbles across this like I just did, this may help.

upstone's response did the trick for me. I changed all my <? tags to <?php tags and my php worked.

(I eventually found the settings to allow short tags)

Cheers!