How to allow Mac OS X's native Apache/PHP installation to access WebServer directories?
- by Martin Bean
I have a problem bugging me with Mac OS X's native Apache/PHP installation.
With my PHP scripts, I have to alter the file permissions on each folder I want to access. For example, in an upload script I would have to set the destination directory to 'read & write' for the group 'everyone'. However, I believe this is not the best practice and would like all of my directories to be readily writable to PHP.
My scripts are stored in /Library/WebServer/Documents/, which is Mac OS X's default directory to serve web pages locally.