My problem is that long php scripts (several hours) are exiting early. (FireFox says "connection to the server was reset while the page was loading").
They exit sometimes after 30 minutes, sometimes after 1:45 hour running time.
- CentOS 6.6 64bit
- Apache 2.2.9 MPM worker
- php 5.5.20 mod_fcgid 2.3.9
- No opcode cache installed
- cPanel and WHM 11.46
- I have root access
For FastCGI I included the following to the httpd.conf, via WHM include editor, to post_virtualhost:
<IfModule mod_fcgid.c>
FcgidBusyTimeout 86400
FcgidIOTimeout 86400
</IfModule>
After that IfModule section i have the < Directory path/to/mysite> section (no space after '<').
I use set_time_limit() and ignore_user_abort() many times in the script to keep it running.
There is nothing in apache error logs.
phpinfo: http://lot-art.com/info.php (you can see that set_time_limit() and ignore_user_abort() works)
It worked fine on my older server, that ran mod_php: http://216.119.148.91/info.php