How to give apache the right to write in the Document root on Mac Os 10.8 ( Mountain Lion)

admin

Administrator
Staff member
I'm having a lot of issues with PHP and Apache while using os-x mountain lion. Basically my plugin needs wordpress to move some files but it always ask for ftp server credential, like if apache doesn't have permission to write those directories.

Apache is running with

<blockquote>
User daemon<br>
Group daemon
</blockquote>

if i do

<blockquote>
ls -lad htdocs/
</blockquote>

i get

<blockquote>
drwxrwxr-x 7 root staff 238 13 Ago 21:51 htdocs/
</blockquote>

i'm using zend server ce 5.6. What should i do to make sure that apache has full rights to do everything? I would give it root access (it' my dev machine and i must get things working, so i don't care about security issues, but i don't know how to that, if i can do it in a cleaner why i'd be happy but i need this to work )