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
I found an even better solution to this. Its caused because php is running as another user by default.
so to fix this do
sudo nano /etc/php/7.0/fpm/pool.d/www.conf
then edit the
user = "put user that owns the directories"
group = "put user that owns the directories"
then:
sudo systemctl reload php7.0-fpm