Last active
August 29, 2015 13:57
-
-
Save fomigo/9850883 to your computer and use it in GitHub Desktop.
wp: FTP on localhost
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
<?php | |
// Add in wp-config.php | |
define('FS_METHOD', 'direct'); | |
define('WP_HTTP_BLOCK_EXTERNAL', true); | |
/* from console | |
$ cd /var/www/ | |
$ sudo chown -R www-data:www-data wordpress | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment