1、權限是否有設置為777;
2、app key是否有設置;
3、apache下是否有開啟重寫,a2enmod;
4、nginx下server的location是否配置正確,重寫規則有沒添加,route的路由有沒有寫全,即"xxx/public/xxx";
location lumen/public/ {
root '/var/www/html/80/lumen/public';
index index.html index.htm index.php;
try_files $uri $uri/ /index.php?$query_string;
}
$app->get('lumen/public/', function () use ($app) {
return $app->welcome();
});
