duanping5306 2014-04-01 01:59
浏览 20
已采纳

Laravel 4不在生产服务器上工作

I deployed a laravel application onto an aws server in a directory that has its own domain pointing to it. However, when I go to say, example.com which points to my public folder nothing shows up, but I know that the index file is being executed. does anyone know why this could happen. This is a fresh installation of laravel 4

Any help would be appreciated.

thanks,

Joel

  • 写回答

3条回答 默认 最新

  • drn61317 2014-04-01 18:43
    关注

    If you are sure that index.php is reached, open it and replace $app->run with

    try {
        $app->run();
    } catch (Exception $e) {
        echo $e->getMessage();
    }
    

    You will probably now see what's going on. My assumption is that it has no permissions to write in the app/storage directory.

    If that's not the case, turn on error display and reporting and see if anything comes up. Also make sure that the public folder is the document root of your application.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料