Skip to content

Instantly share code, notes, and snippets.

@larrybotha
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larrybotha/0600c4fec587cafebb7a to your computer and use it in GitHub Desktop.
Save larrybotha/0600c4fec587cafebb7a to your computer and use it in GitHub Desktop.
Fix WordPress update issues on local Apache sites by updating Apache's User and Group

Fix WordPress Asking For FTP Credentials On Mac

Credit goes to Justin Kopepasah: Change Local Apache User on a Mac (Mavericks)

Apache permissions on Mac (Mavericks) prevents uploads on certain local environments, particularly updating of WordPress' core and plugins (WordPress will ask for FTP credentials).

To fix this, change Apache's default User and Group.

# /etc/apache2/httpd.conf

User [your_username]
Group staff

Then restart apache:

$ sudo apachectl restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment