PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Dec 18, 2018 7:15 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PHP vs IIS
PostPosted: Tue Jul 09, 2002 9:52 am 
Offline
Forum Newbie
User avatar

Joined: Tue Jul 09, 2002 9:52 am
Posts: 6
Location: Longueuil, Qu├ębec
Hi everyone

I'M currently having a problem using php with IIS 5.

My script tries to open a file ( write mode ), using (
fopen( "test.txt", "w" ); )

Actually, I receive the following message...

Warning: fopen("test.txt", "w") - Permission denied in C:\inetpub\wwwroot\counter.php on line 21

I guess that the problem is in my IIS configuration, so I've putted all the options for the base directory to allow read and write, but it does'nt seem to work :wink:

Anyone got an idea ?

Thank's in advance :-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 09, 2002 7:49 pm 
Offline
Forum Newbie

Joined: Tue Jul 09, 2002 7:49 pm
Posts: 5
You checked the directory level permissions (NTFS) right?

Right click on the c:\inetpub\wwwroot\ folder and ensure that IUSR_SOMETHING has read and write permissions.

If that is true, go into IIS and get the properties of your "default web site". Look for the "directory securty" tab and "edit" the "anonymous access". A new window pops up, click edit "anonymouse access" and ensure that IURS_SOMETHING is the user that IIS is using.

:mrgreen:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group