Unable To Create Directory?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Mordicaii
Forum Newbie
Posts: 1
Joined: Mon Dec 01, 2008 6:10 pm

Unable To Create Directory?

Post 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.
User avatar
it2051229
Forum Contributor
Posts: 312
Joined: Tue Dec 25, 2007 8:34 pm

Re: Unable To Create Directory?

Post by it2051229 »

how about the directory where you're going to place the new directory.. is it set to 777?
Post Reply