Page 1 of 1

mkdir on Windows

Posted: Tue Feb 24, 2004 7:38 pm
by crandym
Is anyone familar with what is necessary to get mkdir to work on a Windows XP system?

When I try to make a directory in php, I get a permission denied error message. I am currently running IIS as the WebServer.

thanx

crandym

Posted: Wed Feb 25, 2004 4:13 am
by malcolmboston
i run apache on 2 windows boxes(windows 2000 pro & win 2003 server) and 1 linux box (RH9)

i have used mkdir on windows many times and it works fine, only solutions i can think:

your not running as "superuser" (admin)
your trying to create a folder somewhere that doesnt exist
your trying to create a folder in someone elses "root" folder

or possibly an IIS problem ( i have never used it ) which i very much doubt as mkdir is a universal command

Posted: Wed Feb 25, 2004 6:13 am
by JAM
Not a problem here either on my development computer, though I'm also using Apache...

Do check the userlevel you are running IIS as malcolmboston mention. I've seen that this is a common mistake for alot of people using IIS.

Posted: Wed Feb 25, 2004 9:03 am
by crandym
Thanks for the input. I was hoping someone would replay who has some experience in setting up file permissions in the IIS/Windows environment. In nix, it's pretty simple to do, but in Windows, I've read everything and tried everything I can with no luck.

Posted: Wed Feb 25, 2004 9:22 am
by crandym
I currently have php installed as CGI. Would this have something to do with it?