Page 1 of 1

IIS almost there

Posted: Tue Jul 08, 2003 6:59 pm
by terence
I am having issues with permissions on IIS
I would like to be able to access php scripts in the wwwroot folder.
is that possible?

here is the error i get:

HTTP Error 403
403.1 Forbidden: Execute Access Forbidden

This error can be caused if you try to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.

Please contact the Web server's administrator if the problem persists.

thanks,
terence

Posted: Tue Jul 08, 2003 8:50 pm
by terence
when i run my phpinfo(); by double clicking it on the server and it launches the command prompt i see all the php info that i'm used to seeing go scrolling by wiht the associated html tags.

why is this not working on the browser- all the permissions on iis have been set to read write and execute 20 times over.

i'm lost and running out of time!

any suggestions will help-
thank you,
t-

progress?

Posted: Tue Jul 08, 2003 11:03 pm
by terence
cgi.force_redirect = 1

is that correct given the problem I'm having with the permissions?

niot quite sure- new to php installationand very new to IIS.

also do we restart IIS each time we edit the .ini file or make any changes to the configuration - like altering the permisions of a file or directory?

thanks

Posted: Wed Jul 09, 2003 8:52 am
by hedge
When you installed IIS, it will have created a local user IUSER_<machine name>... The webserver runs as this user so therefore php also runs as this user. You must give this user permissions to the folders.

This user must also have read/execute permission to the php folder.