Timeout errors with php-fpm php script

roliboli

Active Member
Sep 3, 2003
43
1
158
Switzerland
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:

/var/log/apache2/error_log:

[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?