macos - Wordpress Connection FTP failed in xampp

Im trying to install plugins in localhost but I cant install themes and plugins. the main problem is the username and password is invalid, but im 100% sure that is my username/password. I tried to logout, reset, clear cache and google but it doesnt help me.. this is the error I have

Connection Information

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

how do I fix it?

im using xampp, OSX El Capitan. thanks for the help

2 Answers

  1. Edwin- Reply


    This means that WordPress is having limited permission for making changes in the folder that it was installed.

    In-order to fix this, all that you need to do is provide necessary permissions for the same.

    Run the following Command in your Terminal / Putty / Commandline Prompt after connecting to your Server via SSH.

    sudo chown -R apache:apache /var/www/html

    Checkout the below article for full details,

    How to fix the infamous issue of WordPress asking for FTP Credentials for Installing Plugins / Themes ?

    • Syam | MMWYS.Online

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>