yii2 入口文件 提示syntax error, unexpected T_OBJECT_OPERATOR Posted on 22 10 月, 2019 Updated on 22 10 月, 2019 原因是php的安装版本太低, 要5.4以上的版本才行。