Support » Fixing WordPress » Problem with FTP (Installing Plugins or Themes)

  • Hey guys,

    I´ve just installed WordPress and now I want to install some plugins.

    So I signed up in WP and clicked on “plugins > add new”. Now I´ve entered the name of the plugin. After that, I pressed install, and I’m asked for the login details for the FTP access (hostname, FTP username, FTP password, connection type). I entered them (IP, root, password, ftp). Unfortunately, I always get the error “Failed to connect to FTP Server”. I´ve also tried sftp, unfortunately this hasn´t helped.

    I know that I can also install plugins from my PC via FileZilla, but I don’t want to do this.

    I hope you can help me!

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • wrong permissions for your wordpress install. See:

    Changing File Permissions

    btw you cannot install plugins from filezilla, only upload/remove them, and you might run into the same issues then.

    Felipe Santos


    Hi there,

    WordPress will only ask you for your FTP information while trying to install plugins if it cannot write to /wp-content directly. You could change folder file permission (CHMOD) to 775 rather than the default 755 and 644., and it may fix it.

    There is a post on the internet that may be able to help you out:


    Thank you for your answers, but the permissions are already correct… :c



    The real problem isn’t file permissions, it’s that your webserver (Apache/nginx) has an ancient configuration where PHP is not running as the user that owns the WordPress filesystem. Your problem will go away, and your site will run faster, if you configured your webserver for fastcgi with PHP-FPM running as the user that owns the WP filesystem.

    If you truly want to use FTP through WordPress, make sure to use localhost as the hostname. If your FTP server uses a port other than the default of 21 (and it should), append the port to the hostname. Example: localhost:2121

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with FTP (Installing Plugins or Themes)’ is closed to new replies.