Applicable to:
- Plesk for Windows
Symptoms
The following error appears in an attempt to open a PHP-based website:
CONFIG_TEXT: 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:
CONFIG_TEXT: *.php
-
Module:
CONFIG_TEXT: FastCgiModule
-
Executable:
-
Click the icon near the empty field and select
%plesk_dir%Additional\PleskPHPXX
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.
Comments
0 comments
Please sign in to leave a comment.