Today I tried uploading underscore theme to my computer’s localhost server, I tried to unzipped it and paste it directly on my wordpress theme directory, but does’t shows up on wordpress theme dashboard, so I decided to install it via worpress theme installation, but came across in this wierd ftp connection info that I need to provide, it is bizzar because I’m only working on my localhost so ftp info is not necessary. by the way I’m using ubuntu, this might not show if you are using windows machine.
I fixed it by adding
define(‘FS_METHOD’, ‘direct’);
on wordpress wp-config.php which can be found on the root folder of wordpress.