|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
.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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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? |
|
#4
|
|||
|
|||
|
Quote:
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). |
|
#5
|
|||
|
|||
|
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? |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
Perhaps it's time to start over with your installation of php. I don't know what might be causing your problem.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > .PHP files dont have permisions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|