This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Change owner of /var/www/html directory to apache user, here: www-data | |
sudo chown -R www-data:www-data /var/www/html | |
# 2. Allow Group to edit | |
sudo chmod -R 775 /var/www/html | |
# 3. Add yourself to apache group(www-data) | |
sudo usermod -a -G www-data ${USER} | |