Answer the question
In order to leave comments, you need to log in
Permissions and owner of Yii2 folders, www-data on everything?
Hello. I'm new, please help!
Given: nginx+php-fpm server
Task: security-correct permissions and framework folder owners.
Can't decide who should be the owner. There is a www-data user (nginx user), there is a user, there is a root. Root was forgotten. Further. the /web folder of the framework is accessible from the web, index.php lives in it, everything else lives a level above . The framework was set from under the user user through Composer and, accordingly, it is not possible to generate files from Gii.
What to do? All to create from under www-data? Or is it not correct?
Yii2 install via composer
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question