The solution is very very simple, all you need to do is:
Apache is running as user ‘daemon’ according to the recent XAMPP documentation.
You need to go into your Terminal and cd to your local directory. If you develop a lot of wordpress stuff at the same time, you can just chown your htdocs directory (remember that you should never use XAMPP as a production environment, which means you should never follow these ideas for live sites). Here’s what you want to do:
[php]cd /Applications/XAMPP/xamppfiles/[/php]
This will get you to the XAMPP file directory. Now we’re going to modify your htdocs directory:
[php]sudo chown -R daemon htdocs[/php]
Enter your root password when prompted, then finish it out with a chmod call:
[php]sudo chmod -R g+w htdocs[/php]
That’s it! Simple? 🙂
Leave a Reply