IIS 7.5 returns 404 on existing PHP file

5,171

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

I hate stupid settings like that....

Share:
5,171

Related videos on Youtube

Tiffany Walker
Author by

Tiffany Walker

Updated on September 18, 2022

Comments

  • Tiffany Walker
    Tiffany Walker over 1 year
    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

    • Nathan C
      Nathan C almost 11 years
      That error code is file not found. Are permissions set correctly?
    • Tiffany Walker
      Tiffany Walker almost 11 years
      That was my first thought when it comes to working with PHP on Apache I've seen that but I think I have them correct. Uploading a picture.