PDA

View Full Version : http://localhost/install/install.php 403.1 Error


looknow12
Tue 22nd Aug '06, 11:31pm
When I try to run http://localhost/install/install.php from the webserver, I receive aL
HTTP Error 403.1 - Forbidden: Execute access is denied.

I performed the following steps:

Installed Mysql
Installed PHP using the windows wizard.
Created new Web Site in IIS.
Went to configuration and added PHP extension to PHP.EXE (tried -c php.ini too)
Tried adding permissions for I_User_machinename to PHP directory and website home directory.
Also tried adding PHP to ISAPI filters.

Any assistance would be greatly appreciated.

Thanks

Steve Machol
Tue 22nd Aug '06, 11:33pm
You need to make sure your install.php file has execute permissions.

looknow12
Tue 22nd Aug '06, 11:35pm
At the NTFS level, or IIS level?

Steve Machol
Tue 22nd Aug '06, 11:36pm
That I don't know. I'm not a Windows server expert. However from the error, that does appear to be the problem. No execute permissions.

looknow12
Tue 22nd Aug '06, 11:40pm
Install.PHP at the NTFS level has full rights to I_USER account.

If I right click on it in IIS I've given it full rights as well. There's no other security I can give it. Is there another PHP file I can attempt to run to see if the issue is PHP or security?

looknow12
Tue 22nd Aug '06, 11:50pm
I just tried to go PHPISAPI.DLL but that didn't seem to make a difference. I do remember trying to set this up a year ago and IIS6 had a specific switch turned off for security reasons. I look there under Web Server Extensions and it appears everything is configured correctly.

looknow12
Tue 22nd Aug '06, 11:53pm
BTW, if under application settings I turn on Scripts and Execute Permissions I receive a

HTTP Error 404 - File or directory not found instead of the previous error. Switch it back to Exe permissions: None, it goes back to the 403.1

Steve Machol
Wed 23rd Aug '06, 2:26am
Since this is really a server issue you might want to try the Server Configuration forum. I really don't have any expeirnece with Windows servers.

looknow12
Wed 23rd Aug '06, 8:15am
Could you possible move this thread to the server forum?

Steve Machol
Wed 23rd Aug '06, 1:31pm
Moved.

looknow12
Wed 23rd Aug '06, 2:05pm
Steve,

I've enabled my PHP extension under web extensions, I now get: The specified module could not be found.

Is this still a server problem?

Steve Machol
Wed 23rd Aug '06, 2:13pm
Yes.