• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

mod_fcgid: read data timeout in 45 seconds

Azurel

Silver Pleskian
Hello,

I have a project thats need php time with 3min or more. Its make a urgent calculation and is a cronjob script. In my old server I have set this
set_time_limit(9999);
and all working fine.

On the new Server with plesk 11.5 I get a "Internal Server Error" and in error_log I find
mod_fcgid: read data timeout in 45 seconds
Premature end of script headers: index.php

I try
ini_set('max_execution_time',9999);
But thats not help.


How I can set more time for my php script?


I set this in PHP, because I need it only in this one urgent script.



I found a solution, so I think:
ini_set('memory_limit', '256M');
Source: http://www.daveismyname.com/development/fixing-mod_fcgid-read-data-timeout/
 
Last edited:
Hello,

Yes, Try to increase " FcgidIOTimeout " in /etc/httpd/conf.d/fcgid.conf and check again
 
Back
Top