Timeout errors with php-fpm php script


Well-Known Member
Sep 3, 2003
Hi together

I have a php script which take over 500s execution time.
The account has php-fpm active.

In the .user.ini the config is set: max_execution_time = 600
So the phpinfo() gives this value. But for some reason this value for that specific account is not active. After 300s there is a error:


[proxy_fcgi:error] [pid 22261:tid 47364932552448] (70007)The timeout specified has expired: AH01075: Error dispatching request to : (polling)

This 300s are defined in /etc/apache2/conf/httpd.conf:
Timeout 300

At the moment it isn't clear why there is no possibility to set the timeout for an account to a higher value than in httpd.conf? It looks like the .user.ini value has no impact to the php-fpm process.

Can someone explain that behaviour?