• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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