Article ID: 126838, created on Sep 8, 2015, last review on Sep 20, 2015

  • Applies to:
  • Plesk 12.0 for Windows
  • Plesk 11.5 for Windows


Some websites running on PHP are loading very slow. Trying to change PHP mode from CGI to FastCGI has no effect. At the same time in IIS > domain.tld > Handler mappings we can see that handler was not changed and is still CgiModule.


Plesk writes website configuration to the '%windir%\System32\inetsrv\config\applicationHost.config'. The website has 'web.config' file in the 'httpdocs' directory that contains lines like bellow:

        <clear />
        <add name="Plesk_Handler_01223548686" path="*.php" verb="*" modules="CgiModule" scriptProcessor="C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe" resourceType="Either" />
        <add name="Plesk_Handler_01223548687" path="*.php3" verb="*" modules="CgiModule" scriptProcessor="C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe" resourceType="Either" />

The directives in 'web.config' override settings that was made by Plesk.


  • If the website needs a webserver settings customization that can not be done in Plesk then remove lines related to PHP handlers in application.Host.config:

    notepad %windir%\System32\inetsrv\config\applicationHost.config
    <add name="Plesk_Handler_01223548686" path="*.php" verb="*" modules="CgiModule"
  • If the website do not need any webserver settings customizations just rename or remove file 'web.config' from 'httpdocs' directory

Search Words

Handler mappings

Slow website loading

php sites are loading very slow

CGI FastCGI IIS PHP settings

46a8e394d6fa13134808921036a34da8 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF