All php sites are being loaded for a long time.


2017-06-02 14:30:09 UTC


2017-08-16 16:32:25 UTC


Was this article helpful?

Have more questions?

Submit a request

All php sites are being loaded for a long time.

Applicable to:

  • Plesk for Windows


All websites with php code are loading slowly, but regular ASP or static websites are loading fine.


MaxInstancies parameter is less than amount of fastcgi processes which are simultaneously running on the server. (PositionInQueue="24", MaxInstances="10")


  1. Open IIS Manager

  2. Go to Server name > IIS > FastCGI Settings

  3. Choose PHP handler that is actual for your website, right click on it in Full path column and choose Edit

  4. Change value of MaxInstances setting (for example: 50)

If FastCGI Settings icon is not available in IIS user interface then MaxInstances parameter can be increased through applicationHost.config IIS configuration file :

  1. Make backup of %windir%\\system32\\inetsrv\\config\\applicationHost.config IIS configuration file.
  2. Then open it with text editor (e.g. Notepad) and modify <fastCgi> section as follows:


<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php-cgi.exe" maxInstances="10" idleTimeout="1800" activityTimeout="3600" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP54\\php-cgi.exe" maxInstances="10"/>


<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php-cgi.exe" maxInstances="50" idleTimeout="1800" activityTimeout="3600" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP54\\php-cgi.exe" maxInstances="50" activityTimeout="3600"/>

It will increases MaxInstances parameter for PHP 5.4 handler.

  1. Restart IIS web server:
    iisreset /stop
    iisreset /start
Have more questions? Submit a request
Please sign in to leave a comment.