Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Timeout errors with php-fpm php script

Discussion in 'EasyApache' started by roliboli, Jun 18, 2019.

  1. roliboli

    roliboli Active Member

    Joined:
    Sep 3, 2003
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    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?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,931
    Likes Received:
    485
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice