Home

Previous Entry | Next Entry

Computers

  • Sep. 3rd, 2008 at 4:16 PM
Constellation
Before I get too involved in describing the problem I'm having, let me ask if anyone out there might know what I'm talking about.

I'm attempting to enable PHP under IIS.

When I try to run my (prewritten) php page, I get an error of
PHP Warning: mkdir() [function.mkdir]: Permission denied in C:\Inetpub\wwwroot\HRWiki\pmwiki\pmwiki.php on line 535

I may be setting up the Internet Guest Account improperly. It is pretty clearly a permissions problem, but I'm not sure what I need to do.


Before I go describing this in more detail, does anyone think they can help?

Comments

[info]originalcatfood wrote:
Sep. 3rd, 2008 10:25 pm (UTC)
from php.net
you want to create a directory tmp
mkdir ('tmp', 0775);
will create /path/to/your/script/tmp

but if you this
mkdir ('/path/to/your/tmp', 0755);
or
mkdir ('../tmp', 0755);

both will cause an error - permission denied.