douxian9010 2017-04-13 11:16
浏览 301

Laravel和Mamp Localhost错误500 Mac

So after a fresh install of laravel (v5.4) and using Mamp as my local server I just get (in chrome)

The localhost page isn’t working

localhost is currently unable to handle this request.
HTTP ERROR 500

I've tried countless things like changing permissions on storage or everything within the laravel directory.

Done composer update/install in the directory.

I'm running PHP v7.0.12 on my Mac (10.11.6). Cant think of anything else that would be causing this?

If I create another directory which a simple index.php with '' it loads absolutely fine so what is causing an issue with laravel?

Here's pics of my mamp setup

http://i.imgur.com/xT3mMZO.png
http://i.imgur.com/ddz9uij.png

  • 写回答

2条回答

  • dongya9346 2017-04-13 11:28
    关注

    Open up terminal and type:

    tail -n 20 /Applications/MAMP/logs/php_error.log
    

    This may give you some clue as to what is going on.

    Hope this helps, happy coding :)

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog