View Full Version : i need some help please
nfo
Sat 24th Feb '01, 1:58pm
hi,
i am running an IIS 5 win2000 server. i have installed vbulletin. i am having a problem with file permissions.
when i try to access any .php page, a user/pass/domain box comes up. i have set the permissions, i belive correctly. i have allowed guest access and treid all different permissions. i do not have this problem with anything else im running. is there a particular way i must set IIS/dir permissions for .php?
thanks, greatly.
PeF
Sat 24th Feb '01, 2:37pm
First, be sure you're running PHP as CGI not as ISAPI.
During the installation of IIS is a special IIS user created. It must have modify permissions (local) and you have to enable scripting (Scripts Only) onto your vB web folder.
Also, be sure you have appropriate mappings for PHP on IIS.
nfo
Sat 24th Feb '01, 2:43pm
thanks.
sorry, im rather new to IIS, could you please take me step by step through each operation.
thank you.
nfo
Sat 24th Feb '01, 2:58pm
yay :]
thanks allot. i was running as ISAPI, not CGI. i corrected this, and it now works fine.
i really do appreciate your help.
could you tell me exactly why i needed to do this, so that i can have a real understanding of what i actually did.
thanks again.
PeF
Sat 24th Feb '01, 3:04pm
For PHP installation I recommend .exe distribution which will make approriate entries in IIS mappings.
For local permissions:
Right click on folder containing vB 2.0 files. Select properties, security and add your IIS5 user (IISUSR_something). Add modify permission, select advanced and check Reset permissions..... Click OK.
Open Internet Information Services. Click on your main website -> Properties -> WWW Services -> Edit -> Home Directory -> Configuration nad be sure you have something like this for .php extension (it could be at the very end of the list):
.php C:\PHP\php.exe %s %s (all)
If you click on edit you should see something like this:
Executable C:\PHP\php.exe %s %s
Extension .php
Verbs All Verbs
Script Engine <checked>
Check that file exists <unchecked>
Now open website containing vB files, click on properties and under the directory tab check Write, Read, Index this resource, Log visits.
Set execute permission to Scripts Only.
All done. Hope it helps. ;)
Edited for typos. :)
PeF
Sat 24th Feb '01, 3:11pm
It seems like I was typing my answer slower than your "make-it-run-process". :D
nfo
Sat 24th Feb '01, 3:13pm
thanks.
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.