在index.php中去掉 //App::run(); 这种方式是原来的旧版本的方式,现有版本的Thinkphp已经改变,不需要输入此行即可运行。 转载于:https://www.cnblogs.com/yun007/p/3573333.html