2016-10-27 69 views
0

我现在还没有在Laravel 4环境中工作了大约2年。现在,我试图帮助一个朋友,并对该网站进行一些修改。在尝试启动并运行该网站时,我遇到了一些错误。本地主机页面不能在Laravel 4上工作


这里是我做

  • 克隆
  • 作曲家更新
  • chmod -R 777公共项目从资料库/和供应商/和引导/

  • 现在,我的文件许可看起来像这样

-rw-r--r-- 1 bheng staff 252 Oct 26 19:05 test.php -rwxr-xr-x 1 bheng staff 519 Oct 26 19:05 server.php -rwxr-xr-x 1 bheng staff 1913 Oct 26 19:05 readme.md drwxrwxrwx 17 bheng staff 578 Oct 26 19:05 public -rwxr-xr-x 1 bheng staff 566 Oct 26 19:05 phpunit.xml -rwxr-xr-x 1 bheng staff 2062 Oct 26 19:05 error_log -rwxr-xr-x 1 bheng staff 1027 Oct 26 19:05 composer.json drwxrwxrwx 5 bheng staff 170 Oct 26 19:05 bootstrap -rwxr-xr-x 1 bheng staff 2451 Oct 26 19:05 artisan -rw-r--r-- 1 bheng staff 1507527 Oct 26 19:05 app.zip drwxr-xr-x 15 bheng staff 510 Oct 26 19:05 app -rwxr-xr-x 1 bheng staff 26287 Oct 26 19:05 README -rwxr-xr-x 1 bheng staff 145 Oct 26 19:05 CONTRIBUTING.md [email protected] 1 bheng staff 0 Oct 26 19:12 Icon? -rw-r--r-- 1 root staff 105493 Oct 26 19:20 composer.lock drwxr-xr-x 28 bheng staff 952 Oct 26 19:48 vendor

  • 我用我的Mac OS甲基苯丙胺。
  • 我试着看着我的app.php
  • 我已经设置了正确的URL为'url' => 'http://localhost:8888',
  • 现在,当我去我不停的网站越来越

本地主机页面ISN”牛逼工作

enter image description here


更新

我试图重新命名我index.phpindex_.php

和这个内容添加到我的index.php

<?php phpinfo(); ?>

现在,我得到了我的php.ini的页面加载。

enter image description here


我如何把它从这里?

如何去解决这个问题?


我打开此时的任何建议。

任何提示/建议/对此的帮助将非常感谢!

+0

启用错误报告将是一个好的步骤 –

+0

什么? MAMP? – ihue

+0

.... *是*。具体来说,检查你的php.ini –

回答

0

您还应该对/app/storage文件夹应用正确的写入权限。这会告诉你你哪里有错误。

+0

L4没有存储文件夹。我不认为 – ihue

+0

存储文件夹在应用程序文件夹内 – Gaurav112

+0

感谢您的建议,我再也看不到这个错误了。 – ihue

相关问题