Computing.Net > Forums > Web Development > PHP 5 IIS 6 HTTP 401.3 error

PHP 5 IIS 6 HTTP 401.3 error

Reply to Message Icon

Original Message
Name: deadlydog
Date: November 22, 2005 at 14:28:47 Pacific
Subject: PHP 5 IIS 6 HTTP 401.3 error
OS: Windows 2003
CPU/Ram: 1GB
Comment:

Alright, I'm running Windows 2003 with IIS 6 for my webserver. Now, the websites are working fine, except for php files. When I try and access a php file I get this error:

HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
Internet Information Services (IIS)

Now, I am using PHP 5.0.4. I did the manual install, not the windows installer option. I have added my folder C:\PHP to the windows path, and changed the windows registry ini file to point there as well. I have given NTFS permissions (read and execute) on the PHP folder and C:\Inetpub\wwwroot folder (where my website is) to IIS_WPG, IIS_Server (Server is my pc name), and to Network Service. In IIS I have added the WebService Extension php5isapi.dll and allowed it. In the Home Directory tab in the Configuration button, I have added the extension .php and it points to the php5isapi.dll in the C:\PHP folder as well. I have also modified the php.ini file, changing the cgi.force_redirect to 0 and uncommenting it. I changed the doc_root to C:\PHP and the extensions_dir to C:\PHP\ext.

I don't know why it's not working. I'm sure it's a permissions problem, but I just can't get it solved. Any help would be greatly appreciated. I've tried resetting up IIS with PHP using 4 different tutorials, all with the same result.

If you want to see the eror for yourself go to http://www.danskingdom.com/index.php (Note: there is also a temporary index.html file there right now as well, just to show that regular, non-php files do work. You don't have to send me an email like the page says to do).

Thanks in advance!

-- God is my favorite fictional character


Report Offensive Message For Removal








Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: PHP 5 IIS 6 HTTP 401.3 error

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge