开发者

Permission denied while using mkdir on a windows server

the problem is, im using a leased windows server, and im trying to create a directory using php function mkdir, whichever path i try gives the same result.

im using absolute something like this.

mkdir('D:\Hosting\3105674\html\lepsiprisma\hola',0777);

this returns

Warning: mkdir() [function.mkdir]: P开发者_如何学Cermission denied in D:\Hosting\3105674\html\lepsiprisma\prueba.php  on line 2


The user that the webserver runs as, likely has no permissions to write in any of the directories under the web site (or server) root. You'd have to grant the right permissions to that user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜