• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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