I am using IIS7 on Windows Server 2008r2. I have recently installed php and IIS. I am trying to browse to the index.php but it returns a blank page. It loads the favicon and the header of my page. When I load an info.php file it is not blank.

If I disable Anonymus Authentication it the same index.php returns IIS 7.5 Detailed Error - 401.2 - Unauthorized.

What is strange is I installed this exact code onto another fresh IIS install I just did and it loads fine. Permissions for the directory are the same for both.

link|improve this question
Anything of note in the IIS logs? – uSlackr Jan 9 at 16:47
feedback

1 Answer

This Microsoft KB article is for IIS7, but works for 7.5 as well. I would recommend making your way through the article, and if your problem persists, please provide some screenshots of the errors (either in browser, or IIS log)

http://support.microsoft.com/kb/942043/

You also might want to just open a command prompt and type 'iisreset /force' to see if that resolves the issue. If not, go through the article mentioned above.

Let me know if you need any more information, or if that didn't help!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.