Last active
December 30, 2015 23:59
-
-
Save nghuuphuoc/7904221 to your computer and use it in GitHub Desktop.
Allow Wordpress to update the plugin without asking for FTP account
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
// Add the following line to wp-config.php | |
define('FS_METHOD','direct'); | |
// Set wp-content permission | |
$ chmod -R 775 wp-content/ | |
$ chown -R nginx:nginx wp-content/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment