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 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)
  • ¥20 matlab yalmip kkt 双层优化问题
  • ¥15 如何在3D高斯飞溅的渲染的场景中获得一个可控的旋转物体
  • ¥88 实在没有想法,需要个思路
  • ¥15 MATLAB报错输入参数太多