wordpress出现syntax error, unexpected end of file in 2017年05月04日 PHP 暂无评论 项目迁移过来,wordpress出现问题:syntax error, unexpected end of file in 大致是代码书写有误的错误,但原来的项目是没有出现问题的,不可能会出现代码写错的可能。 那只能确定是环境问题。 解决方法: php.ini中设置short_open_tag = On