PHP-FPM custom directives?

Discussion in 'Installation/Configuration' started by itsnedkeren, Mar 23, 2012.

  1. itsnedkeren

    itsnedkeren New Member

    Is it possible to add custom global php-fpm directives when running ISPConfig 3 (Debian/NginX)?

    I know it's possible to add 4 parameters allready.

    Code:
    PHP-FPM pm.max_children
    PHP-FPM pm.start_servers
    PHP-FPM pm.min_spare_servers
    PHP-FPM pm.max_spare_servers 
    But I would like to add more, for example:

    Code:
    pm.max_requests = 500
    request_terminate_timeout = 30
    Or it might be possible to do it in another way, entirely?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You can create a customized PHP-FPM template in /usr/local/ispconfig/server/conf-custom.
     
  3. itsnedkeren

    itsnedkeren New Member

    Great, thanks. How would I go about doing this? Do I just copy the php_fpm_pool.conf.master from the conf directory and add my changes or what?

    P.S. Having something like this in the ISPConfig manual, would be awesome!
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Yes, that's right. :)
     
  5. itsnedkeren

    itsnedkeren New Member

    Excellent, I'll try. Thanks ;)
     

Share This Page