IIS 8 Don't Run PHP?

I was having IIS 8.0 rights issues in a Windows Server 2012 window, so I decided to remove and re-add the role in an attempt to fix it.

This seems to fix my resolution problems, but now my PHP is not working! I get this error when trying to access a file.php

HTTP Error 404.3 - Not Found

The requested page could not be completed due to the extension configuration. If the page is a script, add a handler. If you need to download the file, add a MIME card.

Obviously, I need to do this by adding a handler to one of the files in my php installation folder (which I installed using a web application management application), but I don’t know where I am adding the handler from? I know where to add MIME cards, but obviously this will not solve this.

UPDATE: So, I followed one of the answers that linked me to the PHP site, followed what he said, and seemed to fix the problem without PHP working, but now it opened up a whole new can of worms. I get the same thing Access is denied. mistake as before! even when I change the file extensions to .html, it seems that my site does not link to the default document, because when I go to www.mysite.co.uk I get an error message, but if I go to the site www.mysite.co. uk / index.php, it works great! I have an index.php entry in my default documents and index.html, and none of them work after installing PHP

- , , " " "", , , " " , , .

+4
1

, ;

http://php.net/manual/en/install.windows.iis7.php

iis7 , , , .

:

1 - CGI- FastCGI php.ini,

Fastcgi.impersonate = 1
fastcgi.logging = 0
cgi.fix_pathinfo = 1
cgi.force_redirect = 0

2 - Windows inetmgr "".

3 - node , .

4 - , , .

5 - ** ... "

6 - , ;

Request path: *.php
Module: FastCgiModule
Executable: C:\[path to php install]\php-cgi.exe
Name: PHP_via_FastCGI

7 - , , .

8 - , .

, . IIS, .

+7

All Articles