mehnihma

Well-Known Member
Dec 15, 2012
57
1
8
cPanel Access Level
Root Administrator
Hi
I have problem with cgi:

PHP:
[Sat Feb 15 17:42:37 2014] [warn] [client 46.188.193.127] mod_fcgid: read data timeout in 3 seconds, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:42:37 2014] [error] [client 46.188.193.127] Premature end of script headers: index.php, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:42:40 2014] [warn] [client 46.188.193.127] mod_fcgid: read data timeout in 3 seconds, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:42:40 2014] [error] [client 46.188.193.127] Premature end of script headers: index.php, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:44:42 2014] [warn] [client 46.188.193.127] mod_fcgid: read data timeout in 3 seconds, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:44:42 2014] [error] [client 46.188.193.127] Premature end of script headers: index.php, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:44:45 2014] [warn] [client 46.188.193.127] mod_fcgid: read data timeout in 3 seconds, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
[Sat Feb 15 17:44:45 2014] [error] [client 46.188.193.127] Premature end of script headers: index.php, referer: http://www.demosite.eu/wp-admin/themes.php?activated=true
In my post_virtualhost_global.confGlobal i have set:
PHP:
<IfModule mod_fcgid.c>
 FcgidProcessLifeTime 8200
 FcgidIOTimeout 8200
 FcgidConnectTimeout 400
 FcgidMaxRequestLen 1000000000
MaxRequestsPerProcess 500
MaxProcessCount 15
DefaultMaxClassProcessCount 15
DefaultMinClassProcessCount 0
IPCConnectTimeout 60
IPCCommTimeout 3
PHP_Fix_Pathinfo_Enable 1
IdleTimeout 30
IdleScanInterval 10
BusyTimeout 120
BusyScanInterval 90
ErrorScanInterval 60
ZombieScanInterval 3
ProcessLifeTime 120
 </IfModule>
can you help me with this?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

The error message you provided typically indicates you need to increase the "FcgidIOTimeout" value in your FCGI configuration. Make sure you rebuild your Apache configuration file after manually adding those values:

Code:
/scripts/rebuildhttpdconf
It's important to keep in mind that we do not recommend an FCGI configuration for your PHP handler. FCGI requires fine tuning of mod_fcgid to ensure that the server does not become overloaded with idle PHP processes. Additional considerations are listed here:

cPanel - FCGI Considerations

Thank you.