Open Terminal on your Mac (or use whatever SSH software you like) and type the following: sudo chown -R www:www /Library/WebServer/Documents/Moodle The problem is that the PHP process in the background runs as Apache instead of the owner of the WordPress files. Here’s how to get it to work. WordPress doesn’t normally need to do this. But sometimes it does weird things-like asking to connect via FTP if I want to install a new theme. Credit for this post goes entirely to Bhagwad Park. What you read below is his solution I’ve only re-written it slightly.