How do I change the idle timeout in php-fpm?

Discussion in 'Installation/Configuration' started by buhler, Nov 7, 2016.

  1. buhler

    buhler Member

    I saw that in the configuration files of the virtual host the php-fpm -idle-timout = 300 seconds.
    FastCgiExternalServer /var/www/clients/clientxxx/webxxx/cgi-bin/php5-fcgi-* -idle-timeout 300 -socket /var/lib/php5-fpm/web4.sock -pass -header Authorization
    How can I change the -idle-timeout for 3600?
    FastCgiExternalServer /var/www/clients/clientxxx/webxxx/cgi-bin/php5-fcgi-* -idle-timeout 3600 -socket /var/lib/php5-fpm/web4.sock -pass -header Authorization
    Last edited: Nov 7, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can change that in the vhost master template file.
  3. buhler

    buhler Member

    Thank you Till.
    I did so:
    cp -rvp /usr/local/ispconfig/server/conf/vhost.conf.master /usr/local/ispconfig/server/conf-custom/
    And I changed the parameters in:
    Then I opened all the sites in ISPConfig for the change to be applied.
  4. helders

    helders New Member

    Bringing up an old thread, is there a way to change it for one website only?

Share This Page