When setting max_execution_time to 0, FcgidIOTimeout value is not set in virtual host configuration

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:53:52 UTC

Modified:

2016-12-21 19:28:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

When setting max_execution_time to 0, FcgidIOTimeout value is not set in virtual host configuration

Symptoms

When setting some value for max_execution_time parameter in PHP settings of a domain in Domains > example.com > PHP Settings , generally, the same value is set for FcgidIOTimeout in virtual host configuration. However, when setting max_execution_time to 0, which means - unlimited, FcgidIOTimeout is not set in virtual host configuration, therefore the following error may appear in apache error logs:

[warn] [client 203.0.113.2] mod_fcgid: read data timeout in 45 seconds
[error] [client 203.0.113.2] Premature end of script headers: script.php

Cause

This is Plesk bug with ID PPPM-3638 which is planned to be fixed in future Plesk updates.

Workaround

  1. Set max_execution_time value to 0 under Home > Subscriptions > example.com > PHP Settings :

alttext

  1. Set appropriate value for FcgidIOTimeout directive in Additional Apache directives under Home > Subscriptions > example.com > Apache & nginx Settings . For example:
    <IfModule mod_fcgid.c>
    FcgidIOTimeout 120
    </IfModule>
Have more questions? Submit a request
Please sign in to leave a comment.