icon_tweet
I just bought unlimited turns on Triple Town... Heinously addictive game!

WordPress Automatic updates on XAMPP OSX

WordPress on Xampp is great for local development but for the longest time I have been annoyed with the automatic updates not working in Xampp/Wordpress installations. This not only includes WordPress version updates but also updating WordPress plugins on Xampp installations.

The problem I experienced was a permissions mismatch as per this post by Ianc. For me these instructions didn’t work but after persisting I discovered that the htdocs folder has to have its owner/group the same as the one you change to in your httpd.conf.

Instructions for enabling WordPress automatic updates in Xampp on OS X:

  1. Find your admin user name for this OS X account.
  2. Change permissions and owner/group on htdocs folder.
    • You may of already changed your htdocs and its contents to 777 to avoid being unable to edit any files without authenticating. If not change chmod to 777.
    • If you have Pathfinder, you can easily change owner of htdocs folder to yourUserName with the Inspector (cmd+i with folder selected).
    • With Pathfinder again, change htdocs group to “staff”.
      I could not find an easy way to change the owner/group with just the regular Finder though it may be possible. Another alternative is to use whatever the user/group is of the folder as the details in your httpd.conf (haven’t tested this but it should work).
  3. Change your httpd.conf user and group.
    • Open your httpd.conf file with Textedit. you can find it in Applications/XAMPP/etc/
    • Find “user” and change it from nobody to yourUserName
    • Below that line, change group from admin to staff
  4. Test your automatic update ability.

About author: Philip Tyrer

Philip is the mastermind behind Amparose and continues to strive towards creative excellence. He specialises mainly in web design but also involves himself with audio production, animation and 3D modelling, guitar, tango and painting.

Leave a Comment


* are required