Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 6th, 2006, 03:14 PM
fivecubed fivecubed is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 4 fivecubed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 21 sec
Reputation Power: 0
.PHP files dont have permisions

as far as i know i have set correct permissions for my site. i installed the latest php last night manually. I only used the necessary isapi for php. (php5isapi.dll).

Before i did this php files would not load and would give a file not found error now, the files try to load but the user is prompted for a password. This only happens with php files .asp and .htm do no do this.

http://www.fivecubed.com

http://www.fivecubed.com/test.php

I put only two files into a directory c:\a\index.asp and c:\a\test.php

I set this as the home dir and i also gave it permissionsto read/execute the same was done for the files within the dir.

I have tried resetting the iusr account but i dont think that can be the problem becuase the .asp file is loading.

Reply With Quote
  #2  
Old January 6th, 2006, 04:43 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Make sure the iusr account has permissions to the php program files as well as the virtual directory.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old January 6th, 2006, 04:51 PM
fivecubed fivecubed is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 4 fivecubed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 21 sec
Reputation Power: 0
Where do i do this? In IIS? or in users/groups? or in explorer in c:\php - right click - security?

Make sure it has read permissions to the entire c:\php dir?

Reply With Quote
  #4  
Old January 6th, 2006, 08:07 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Quote:
Originally Posted by fivecubed
Where do i do this? In IIS? or in users/groups? or in explorer in c:\php - right click - security?

Make sure it has read permissions to the entire c:\php dir?

Yes the security tab. On my development IIS5.1 I have the iusr and iwam accounts on the security list for c:\php. Probably 'cause I'm lazy, the iusr account has full permissions (but this web server is exposed to no one but me so I don't worry much).

Reply With Quote
  #5  
Old January 7th, 2006, 01:21 PM
fivecubed fivecubed is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 4 fivecubed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 21 sec
Reputation Power: 0
the permissions are set to allow the iusr and the iwam accounts for both directories c:\a and c:\php.

the permissions are read/execute - execute - modify

this did not work.


i am still getting 401.3 err

any other possibilities?

Reply With Quote
  #6  
Old January 7th, 2006, 02:36 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
You'll have to track down what is causing the password prompt. Is there some other element in test.php that might not have permissions for the web server user?

You can temporarily put the iusr account in the administrators group, if your problem goes away keep checking permissions. I followed the instructions from php.net for installing the isapi version of php5 and had no problems.

Reply With Quote
  #7  
Old January 7th, 2006, 03:04 PM
fivecubed fivecubed is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2005
Posts: 4 fivecubed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 21 sec
Reputation Power: 0
test.php is a blank file

i added the iusr acct to admin and i still get the pw prompt.


i dont know what try next

Reply With Quote
  #8  
Old January 7th, 2006, 08:08 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Perhaps it's time to start over with your installation of php. I don't know what might be causing your problem.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > .PHP files dont have permisions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT