How to set up file permissions for Laravel?

前端 未结 15 2135
忘了有多久
忘了有多久 2020-11-22 00:08

I\'m using Apache Web Server that has the owner set to _www:_www. I never know what is the best practice with file permissions, for example when I create new La

15条回答
  •  一生所求
    2020-11-22 00:30

    I decided to write my own script to ease some of the pain of setting up projects.

    Run the following inside your project root:

    wget -qO- https://raw.githubusercontent.com/defaye/bootstrap-laravel/master/bootstrap.sh | sh
    

    Wait for the bootstrapping to complete and you're good to go.

    Review the script before use.

提交回复
热议问题