If you are using XAMPP Apache+MySQL+PHP stack to develop web applications on your OSX or Linux computer you might want to fiddle with Apache settings to make your life easier.
By default XAMPP users nobody user for running Apache. If you try to load any file created by your normal system user Apache will give access denied error. This means that either you must make all PHP files readable for everyone, or change the file owner. This is painful if you need to repeat the process for every file.
Instead, it is easier to make XAMPP run under the permissions of your local user.
<IfModule !mpm_winnt_module><IfModule !mpm_netware_module>User yourusernameGroup staff</IfModule></IfModule><IfModule !mpm_winnt_module><IfModule !mpm_netware_module>
You also need to change the location of setting default folder execution rights htdocs location to your development location
# # This has been changed from /Applications/XAMPP/htdocs # <Directory "/Users/moo/code/joomla/mobilejoomla_dev"> Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All
And now Apache will happily eat all files you create or edit.