Why I should change public/index.php permissions from 664 to 644?

  apache, laravel, php

I just finished deploying a new Laravel app, I run into a problem where the server returns 500 error page, after some research I found that I have to change the permission of the file public/index.php from 664(rw-rw-r) to 644(rw-r-r).

It worked but I don’t know why lol ?

Anyone knows why it worked ?


Source: Laravel

Leave a Reply