I have Apache2 with PHP + PHP-FPM configured according to:
I am writing a script that will take a long time to execute on an internal Vhost, but keep getting timed out, everything runs flawlessly if the script executes in under 30 seconds.
My apache log tells me:
[Wed Apr 17 21:57:23.075175 2013] [proxy_fcgi:error] [pid 9263:tid 140530454267648] (70007)The timeout specified has expired: [client 184.108.40.206:49017] AH01075: Error dispatching request to :, referer:
When trying to run the script I am given a
503 Service Unavailable after exactly 30 seconds of execution time. Logically this would mean I have a timeout directive or setting set to 30 seconds, but I have these in my Vhost's config:
Timeout 600 <IfModule proxy_module> ProxyPassMatch ^/(.*.php)$ fcgi://127.0.0.1:9001/home/pyrokinetiq/scripts/$1 timeout=600 ProxyTimeout 600 </IfModule>
(php-fpm is running on port 9001 for me)
I have also tried placing the
httpd.conf with no difference.
It seems there's another timeout setting somewhere that's specific to
mod_proxy_fcgi, but I can't find it. I installed the Apache2 httpd from the official tarball, none of the mods seem to have come with any configuration files.
If anyone can point me in the right direction it would be much appreciated.