FTP Credentials Unexpectedly Required When Installing Plugins or Upgrading in WordPress

I went to install a plugin on a newly created WordPress site and rather than just do it, suddenly a screen appeared asking for FTP credentials. I had never seen this before and was a little surprised. Why would it be so different?

unexpected wordpress credentials screen

Credentials screen

The problem? I had forgotten to change the ownership of the folder in which the WordPress site sat. Being still owned by root, it no longer had permission to make changes.

The solution? A quick:

as root.


Written by Stephen Moon
email: stephen at logicalmoon.com
www: https://www.logicalmoon.com

Hey! Did you enjoy reading this? If you did and would like an email when I add new content, just subscribe to my list. You can unsubscribe at any time.

Leave a Reply

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