Symptoms
The following error appears in an attempt to open a PHP-based website:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration.
If the page is a script, add a handler.
If the file should be downloaded, add a MIME map.
Cause
Handlers mapping for PHP is not configured.
Resolution
Follow these steps to manually add the missing handler to IIS:
- Log in to Plesk server via RDP as Administrator.
-
Go to IIS manager > Sites > example.com > Handler Mappings
- Click the Add Module Mapping... button and specify the following parameters:
-
Request path:
*.php
-
Module:
FastCgiModule
-
Executable:
-
Click the
icon near the empty field and select%plesk_dir%AdditionalPleskPHPXX
folder.Note: specify the required PHP version instead of XX which can be found on the Plesk > Domains > example.com > PHP Settings.
-
Choose the
php-cgi.exe
file and press the Open button.
-
-
Name:
Specify a handler name, e.g. PHP-php.
-
-
Click the Request Restrictions... > Mapping tab, mark the Invoke handler only if request is mapped to and select the File or folder option.
-
Go to the Verbs tab, select the One of the following verbs and specify the GET,HEAD,POST value
-
Go to the Access tab and select the Script value.
-
Press OK > OK > Yes buttons.