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();
});

  

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2021-11-11
  • 2022-01-29
  • 2022-02-17
  • 2021-05-09
  • 2022-01-11
猜你喜欢
  • 2021-10-12
  • 2022-12-23
  • 2021-07-07
  • 2021-11-04
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案