WordPress FTP credentials on localhost
How to update WordPress locally?
Last night I was trying to update one of my project and trying to update for the latest version of WordPress 4.3 “Billie” and I get asked for my FTP credentials and I get confused. What the heck is my FTP credentials when working locally?
This is a permissions issue. You gotta change the owner/group settings of wp-content/uploads folder, or maybe of all wp-content.
Here’s the simple solution if you come across with this problem:
just add define(‘FS_METHOD’,’direct’); to wp-config.php and it will work on localhost. But please make sure you don’t add it to production version.