通过composer生成的项目不能访问
大家早上好!请教一个问题:
通过 compser create-project laravel/laravel mypreject 访问 public 下的index.php 提示如下错误:
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in D:\Program Files (x86)\php\test.z\shop\public\index.php on line 50
通过 compser create-project laravel/laravel mypreject 访问 public 下的index.php 提示如下错误:
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in D:\Program Files (x86)\php\test.z\shop\public\index.php on line 50
1 个回复
shl - php
赞同来自: