search

Home  >  Q&A  >  body text

phpstudy reports an error when configuring a virtual host. What is the problem?

thinkphp was created through composer, version 5.1.0. I used phpstudy to configure the virtual host in Windows and got an error when opening public. I don’t know the reason. Can someone check it out?


Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C: \myphp_www\PHPTutorial\WWW\zh\thinkphp\base.php on line 33

1.png

liuwaiwailiuwaiwai2293 days ago1009

reply all(0)I'll reply

No reply
  • Cancelreply