Install wordpress theme on mu linode

Hi guys,

I install wordpress on my Linode. I grant permission 777 on the installation.

But, when I try to install a theme, I config the ftp credentials and i see the following error:

Failed to connect to FTP Server XXX.XXX.XXX.XX:22

I connect by FTP with WinSCP and the same credentials I use to Wordpress theme installation.

Can you help me please?

1 Reply

Linode Staff

It looks like you can install the theme in a different way if you change a Wordpress setting. If you add the following line to your wp-config.php file it should work for you:

define('FS_METHOD', 'direct');

Once you've added it, if you still can't install the theme, try restarting Apache with:

service apache2 restart

or

service httpd restart

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct