Article ID: 127621, created on Nov 30, 2015, last review on Aug 19, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


When setting some value for "max_execution_time" parameter in PHP settings of a domain, 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 and therefore the following error may appear in apache error logs:

[Tue Nov 17 19:01:06 2015] [warn] [client] mod_fcgid: read data timeout in 45 seconds
[Tue Nov 17 19:01:06 2015] [error] [client] Premature end of script headers: somescript.php


This is a software issue with internal ID PPPM-3638. It will be fixed in future product updates.


As a workaround, when you set "max_execution_time" to 0, set appropriate value for FcgidIOTimeout in Additional directives for HTTP under Home - Subscriptions - - Websites & Settings - Apache & nginx Settings

<IfModule mod_fcgid.c>
        FcgidIOTimeout 120

Search Words

mod_fcgid: read data timeout in 45 seconds


max_execution_time=0 handled incorrectly


742559b1631652fadd74764ae8be475e 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e335d9adf7edffca6a8af8039031a4c7 2a5151f57629129e26ff206d171fbb5f

Email subscription for changes to this article
Save as PDF