Coming from a mainly PC background I rarely had any problems setting up a local version of a WordPress install through XAMPP, however, doing the same on a Mac seems far more problematic.
The problem comes when trying to auto-update my local WordPress install along with its plugins on my Macbook (OSX 10.7.3). WordPress would continue to request ‘Connection Information’ with regards to my FTP details which I could not bypass.
After a bit of snooping around the web, I did the following:
Navigate to your home directory and type:
Note your username, i.e. ‘joebloggs’
sudo open -e "/Applications/XAMPP/etc/httpd.conf"
(making sure your quotemarks are not the fancy versions, but rather the standard – if you’ve installed XAMPP in another directory, update the above to your file structure)
This should hopefully open TextEdit, where you want to find the section:
(note: I had to scroll down the list using my keyboard down arrow)
You need to then update this section to say:
User joebloggs (or whatever your username is)
I had the problem where my Mac would not allow me to edit the ‘httpd.conf’ file due to permissions and instead I had to create a duplicate version which I later used to save over the original. I also had the problem where although I told my TextEdit to save the file as ‘httpd.conf’ it saved it as ‘httpd.conf.txt’. To correct this, I had find the file info in my Finder window and change the ‘Name and Extension’ properties to the correct ‘httpd.conf’
Once your updated ‘httpd.conf’ file is saved in your ‘/Applications/XAMPP/etc/httpd.conf’ directory (or where ever you’ve installed XAMPP) you will then need to turn off and then turn on your Apache, MySQL, FTP functions through the XAMPP control panel. This should hopefully clear any permissions problems allowing you to auto update and download new version of your WordPress install and plugins.