How to fix WordPress automatic upgrades and plugin installs on Nginx

Estimated 1 min read

 

If you happen to have a local development environment, and you so happen to be using Nginx on it, then chances are you’ve run into the issue where you needed to update WordPress or a plugin within your installation and end up with it asking you for FTP login credentials, or it gives you the error of Failed to connect to FTP Server localhost:21, either way it happens to be down right annoying.

So here is a little trick I learned that solves this issue. In Terminal change directories (cd) to the folder above where you WordPress site is and then type sudo chown -R _www “the folder where your wp site is”, after you enter your password proceed to updating your plugins/WordPress installation with ease.

Hope this helps!

Enjoyed this post? Share it and spread the joy!

Leave a Reply

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

Other Musings You May Like

Dynamic WordPress Copyright

While working on a recent project, I had the need for a dynamic copyright. After all, any instance we can spend …

We’re here to help

The last challenge although one can be quite detrimental, is actually more of a blessing than anything else. As designers, most …