Skip to content

Instantly share code, notes, and snippets.

@ncole458
Last active May 19, 2018 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncole458/947b4a62752cee41b5d2edcb306175d7 to your computer and use it in GitHub Desktop.
Save ncole458/947b4a62752cee41b5d2edcb306175d7 to your computer and use it in GitHub Desktop.
WordPress FTP permissions on VPS/EC2 etc
# 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