please set short_open_tag in nginx : fastcgi_param PHP_VALUE "short_open_tag = 1";