WordPress asking for my FTP credentials to install plugins

后端 未结 14 843
南旧
南旧 2020-11-30 17:52

I installed a WordPress blog in my local system. But when I try to add plugins from admin it asks for FTP access. What do I need to configure for WordPress to be able to up

14条回答
  •  难免孤独
    2020-11-30 18:12

    First move to your installation folder (for example)

    cd /Applications/XAMPP/xamppfiles/
    

    Now we’re going to modify your htdocs directory:

    sudo chown -R daemon htdocs
    

    Enter your root password when prompted, then finish it out with a chmod call:

    sudo chmod -R g+w htdocs
    

提交回复
热议问题