How to install new WordPress theme on Ubuntu in XAMPP?

I am new to WordPress. I just installed on my Ubuntu with XAMPP on localhost not live server.

My WordPress version is 3.5.1.

Read More

Now when I try to install new theme it shows the below message

To perform the requested action, WordPress needs to access your web
server. Please enter your FTP credentials to proceed. If you do not
remember your credentials, you should contact your web host.

And prompts for hostname, ftp username and ftp password.

Related posts

Leave a Reply

3 comments

  1. Add this to your wp-config.php

    define('FS_METHOD','direct');
    

    Due to linux having such a more restrictive file system, this will enable to you write directly to the folder.

    This will solve that ftp problem while installing new plugin or theme.