Page 1 of 1

Unable To Create Directory?

Posted: Tue Jan 20, 2009 1:53 pm
by Mordicaii
I have a Mac (no snide comments), when I attempt to create a directory on it using PHP, i get an odd error,
Warning: mkdir() [function.mkdir]: Permission denied in /Users/kendonricketts/Sites/Untitled-1.php on line 2
I am using mode of 777 on the mkdir() function.

Why am I getting this error?
I am thinking Apache has something to do with it, as I can manually create a directory in the site root.

Re: Unable To Create Directory?

Posted: Tue Jan 20, 2009 6:05 pm
by it2051229
how about the directory where you're going to place the new directory.. is it set to 777?