How to allow Mac OS X's native Apache/PHP installation to access WebServer directories?
        Posted  
        
            by Martin Bean
        on Server Fault
        
        See other posts from Server Fault
        
            or by Martin Bean
        
        
        
        Published on 2010-05-17T10:32:12Z
        Indexed on 
            2010/05/17
            10:41 UTC
        
        
        Read the original article
        Hit count: 271
        
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.
© Server Fault or respective owner