Laravel 5.0 Permission on ubuntu

后端 未结 2 504
夕颜
夕颜 2021-01-25 21:08

Whenever i pull from git on my production server, which is azure vps, i have to give permission to my proejct directory, so that apache user can access it. Otherwise it says, pe

2条回答
  •  有刺的猬
    2021-01-25 22:02

    You should execute this command in Ubuntu after installation:

    sudo chmod -R 777 storage
    

    This commands will set correct permissions on storage folder and everything inside it. Without this Laravel will not work.

提交回复
热议问题