Installing Theme from uploaded file. Not uploaded theme?

I'm totally new to WordPress, and I'm trying to upload theme from Upload Theme in themes section.

While uploading theme it is asking for "FTP server access credentials", but I'm working on localhost and I haven't set any credentials for that.

I'm trying to upload Bizgrowth theme which I'm downloaded from https://wordpress.org/themes/bizgrowth/ this site.

How can I resolve this?

Topic local-installation ftp themes Wordpress

Category Web


You need to set the permissions locally in a UNIX environment:

sudo chown -R www-data:www-data /usr/share/wordpress

Also perhaps:

chown -R nobody:nobody /path/to/wordpress

Also try setting the FTP creds in the wp-config.php file:

define( 'FTP_USER', 'username' ); 
define( 'FTP_PASS', 'password' ); 
define( 'FTP_HOST', 'ftp.example.org:21' );

Use "admin" or "root" for user and leave the password blank.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.