• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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