I can't upload WooCommerce .zip file and install the plugin on the local host. Every time I click install button Wordpress asking for connection information for the FTP credentials like this pic:
Even tough I entered localhost for the hostname and admin as username, it doesn't work!
All you need is access to your web hosting company's File Manager or FTP access in order to view and edit the wp-config. php file. This file is located in the top directory of your account, listed just above the /wp-content directory.
Try:
chmod 777 /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/plugins/
chmod 777 /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/themes/
Then add these to wp-config.php
:
/** Add here*/
define('FS_METHOD','direct');
define("FTP_HOST", "localhost");
define("FTP_USER", “my_wordpress_user”);
define("FTP_PASS", “password”);
/** To here*/
In the line above, my_wordpress_user
and password
are the ones used in wordpress.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With