Home  >  Q&A  >  body text

Thinkphp 5.1 error after installation

报错的内容如下:Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in E:\myphp\PHPTutorial\WWW\web\thinkphp\base.php on line 33

嘿嘿嘿嘿2292 days ago1562

reply all(3)I'll reply

  • 又月半了么

    又月半了么2019-04-24 15:46:46

    I also have this problem, have you solved it?

    reply
    0
  • 亚连

    亚连2018-06-13 09:45:05

    Have you added a class controller? If the description has the same name as in the TP framework, change it.

    reply
    0
  • 嘿嘿

    No, I downloaded it directly from the command line.

    嘿嘿 · 2018-06-13 14:22:32
  • Cancelreply