Hey,
So I'm using cPanel v60, with PHP7, mod_proxy_fcgi and PHP-FPM. all set up via WHM's GUI etc, so all the file paths etc are standard now.
Problem is that I have had to increase my PHP max execution time, however I keep getting the following error message from fcgi:
[proxy_fcgi:error] [pid #####:tid #############] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:6529] AH01075: Error dispatching request to : (polling), referer: https://domain.com/the_script_that_needs_more_time/
After researching I have found that fcgi has its own timeout setting (which is not noted anywhere in WHM for some silly reason)
I have been searching extensively but I cannot find the correct settings to increase the timeout for this. I am fairly certain I need to add it under Home »Service Configuration »Apache Configuration »Include Editor then add it to Pre VirtualHost include. HOWEVER I cannot find the correct <ifmodule xxxx> statement or the actual values. What I keep finding is results like this -> <IfModule mod_fcgid.c> obviously this wont work as I'm using mod_proxy_fcgi not mod_fcgid
so could someone please advise exactly what I need to add in order to stop fcgi doing this.
Thanks
So I'm using cPanel v60, with PHP7, mod_proxy_fcgi and PHP-FPM. all set up via WHM's GUI etc, so all the file paths etc are standard now.
Problem is that I have had to increase my PHP max execution time, however I keep getting the following error message from fcgi:
[proxy_fcgi:error] [pid #####:tid #############] (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:6529] AH01075: Error dispatching request to : (polling), referer: https://domain.com/the_script_that_needs_more_time/
After researching I have found that fcgi has its own timeout setting (which is not noted anywhere in WHM for some silly reason)
I have been searching extensively but I cannot find the correct settings to increase the timeout for this. I am fairly certain I need to add it under Home »Service Configuration »Apache Configuration »Include Editor then add it to Pre VirtualHost include. HOWEVER I cannot find the correct <ifmodule xxxx> statement or the actual values. What I keep finding is results like this -> <IfModule mod_fcgid.c> obviously this wont work as I'm using mod_proxy_fcgi not mod_fcgid
so could someone please advise exactly what I need to add in order to stop fcgi doing this.
Thanks