By default, in IIS Plesk Control Panel uses ISAPI to run PHP applications. You can also use CGI or FastCGI. For better performance it is recommended to switch the PHP handler type in IIS to FastCGI. The type of PHP handler is defined by the "PLESKCP_PHP_MODE" value of the HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config key of Windows registry (isapi, cgi, or fastcgi).
To set FastCGI as PHP handler type, follow these steps:
HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config key, set the "fastcgi" value for the "PLESKCP_PHP_MODE" parameter.Note: If the "PLESKCP_PHP_MODE" parameter is absent or set to "isapi", ISAPI is used as the PHP handler. If the "PLESKCP_PHP_MODE" parameters value is "cgi", CGI is used.
To switch between PHP handler types, use Plesk Reconfigurator in one of the following ways:
PLESKCP_PHP_MODE" value in the HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config key of Windows registry (isapi, cgi, or fastcgi).or
PLESKCP_PHP_MODE" value in the HKEY_LOCAL_MACHINE\SOFTWARE\PLESK\PSA Config\Config key of Windows registry (isapi, cgi, or fastcgi).cmd.exe and change directory to the %plesk_dir%\admin\bin\ folder (where %plesk_dir% is the Windows' system variable specifying the folder where Plesk is installed).Reconfigurator.exe /check=Services
or
cmd.exe and change directory to the %plesk_dir%\admin\bin\ folder (where %plesk_dir% is the Windows' system variable specifying the folder where Plesk is installed).Reconfigurator.exe --switch-plesk-web-server --new-provider=iis --php-handler-type=<isapi | fastcgi | cgi> --force