Question

I'm getting 401.1 errors when trying to run a .php file on windows 2003/IIS6 I've been all over the web, given Everyone Full perms on the folder containing the file as well as the file... Nothing.

What am I missing?

Was it helpful?

Solution

  1. can you serve HTML in the folder trying to serve PHP?

  2. If yes, what are the permissions on the PHP directory and PHP DLL (e.g. php5isapi.dll)? The IUSR will need execute.

OTHER TIPS

Here's a step-by-step guide for getting PHP running on IIS 6.

Take a look at the logs produced by IIS (found somwhere in C:\WINDOWS\system32\LogFiles\W3SVC1) this might give you some additional info.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top