2

I have installed WordPress on XAMPP-VM (don't use addon). But when I add new Theme or Plugin, I need to enter FTP credentials and I don't know what username/password I should to use.

install WordPress plugin

I can connect with account daemon/xampp but must change the permission of htdocs folder to 777.

What FTP account I can use that I don't need to change permission to 777?

Robin Huy
  • 960
  • 7
  • 23

3 Answers3

1

Please see:

How to setup FTP on xampp

Alternatively, do note that you don't need to change the permissions on the htdocs folder proper, you can do it in on the plugins and themes folders in wp-content. See:

Wordpress FTP connection setting for localhost to upload and install WooCommerce

Cesar Correchel
  • 513
  • 3
  • 7
1

Please use your system(means laptop/desktop) username and password here

0

This is due to the permission issue, you can avoid it by writing the following code into your wp-config.php :

define('FS_METHOD', 'direct');

Hope this will help.

Tristup
  • 3,603
  • 1
  • 14
  • 26