Last active
May 19, 2018 11:30
-
-
Save ncole458/947b4a62752cee41b5d2edcb306175d7 to your computer and use it in GitHub Desktop.
WordPress FTP permissions on VPS/EC2 etc
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
# allow WP to FTP/access core/plugin folders | |
sudo chown -R www-data /var/www/html | |
# always set back when done | |
sudo chown -R sammy /var/www/html | |
# restart PHP on Ubuntu | |
sudo service php7.0-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment