ehp
ehp

Reputation: 2565

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.

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.

Upvotes: 2

Views: 4545

Answers (3)

Jeegar Patel
Jeegar Patel

Reputation: 27210

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.

Upvotes: 1

Ian Mbae
Ian Mbae

Reputation: 146

try using the username: nobody and the password: xampp or root or toor or**

your localhost password [if not blank]

**

Upvotes: 0

Ajay M
Ajay M

Reputation: 56

Are you trying to install the theme over the web or you have a local copy of it?

You can check this link that describes your issue to some extent:

http://www.jasong-designs.com/2012/01/14/ubuntu-linux-permissions-and-a-local-wordpress-install/

and this too:

http://www.chrisabernethy.com/why-wordpress-asks-connection-info/

Upvotes: 4

Related Questions