Monday, May 26, 2014

PHP IIS Setup Issue: 401.3 Unauthorized Due to ACL on Resource

I have been encountering this issue every time I manually setup different versions of PHP (isapi) on IIS 6.
Let's assume that you already setup the following:

  • Add PHP path on Environment Variables
  • Add PHP web extension service on IIS
  • Add PHP mapping on the application configuration of a website property.

After the above configurations, there comes now the permission issues.
Whenever I test a simple PHP code it always prompts me with the following Error message:

HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.

So here's a quick fix:

Step 1. Go to PHP folder
Step 2. Right Click > Properties
Step 3. Select Security Tab
Step 4. Add "Users" under "Group or user names:"  with Read & Execute, List Folder Contents (optional), & Read.
Step 5. Click Ok


I'm still testing some scenarios, hope this quick fix can help you guys.
Please share your thoughts.