Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

SergioGregorutti's avatar

Laravel 5 gets a blank page

Hi,

I just made a fresh install of Laravel 5 using Laravel installer, and I get a blank page when I load the "public/" directory.

I think that I have all the server requirements. Im using a MAMP environment.

Any idea of what is the error?

I tried the 4.3 version weeks ago and it worked fine.

Thanks in advance!

0 likes
5 replies
RachidLaasri's avatar
Level 41

Make sure folders within storage have write access.

1 like
usman's avatar

In addition to @RachidLaasri 's suggestion, rename .env.example to .env to turn on the error reporting.

SergioGregorutti's avatar

Thanks both! I made the rename thing before, and then I tried the folder permissions and now is working! :)

1 like
bashy's avatar

Make sure you read the documentation. It's in the first few paragraphs on install guide.

1 like
omidahmadyani's avatar

1.your php version compatible 2.permision of storage directory

Please or to participate in this conversation.