Windows – IIS 7.5 returns 404 on existing PHP file

iisiis-7PHPwindowswindows 7

Module  IIS Web Core
Notification    MapRequestHandler
Handler PHP54_via_FastCGI
Error Code  0x80070002
Requested URL   http://localhost:80/phpinfo.php
Physical Path   C:\inetpub\wwwroot\phpinfo.php
Logon Method    Anonymous
Logon User  Anonymous

I followed the following guide:
http://www.landpro.com.au/Windows_7_Install_IIS_7_&PHP&_FastCGI.php

Permissions:

enter image description here

What am I doing wrong to be getting this error?

EDIT: I now see the .txt at the end… stupid Microsoft default settings.. UGH

Best Answer

Fixed. Had to disable that stupid hide known file extension setting to remove the hidden .txt.

I hate stupid settings like that....