Does not work function set_time_limit ()

Greetings.
I have the server with Webmin/Virtualmin, CentOS 5.6, Apache, php 5.3.6.
In my php scripts does not work function set_time_limit ();
And TimeOut (at work php scripts) depends only from IPCCommTimeout (in httpd.conf)
(SafeMode switch off)

In error_log:
[Thu Aug 18 17:58:25 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: read data timeout in 40 seconds
[Thu Aug 18 17:58:25 2011] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.htm

Howdy,

You can increase the FCGID timeout by going into Server Configuration -> Website Options, and changing the “Maximum PHP script run time” setting.

-Eric