#1  
Old 23rd March 2012, 18:05
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Exclamation PHP-FPM custom directives?

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?
__________________
Best regards

Jim
Reply With Quote
Sponsored Links
  #2  
Old 24th March 2012, 09:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

You can create a customized PHP-FPM template in /usr/local/ispconfig/server/conf-custom.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
itsnedkeren (24th March 2012)
  #3  
Old 24th March 2012, 15:02
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
Default

Quote:
Originally Posted by falko View Post
You can create a customized PHP-FPM template in /usr/local/ispconfig/server/conf-custom.
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!
__________________
Best regards

Jim
Reply With Quote
  #4  
Old 25th March 2012, 20:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Quote:
Originally Posted by itsnedkeren View Post
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?
Yes, that's right.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
itsnedkeren (25th March 2012)
  #5  
Old 25th March 2012, 21:05
itsnedkeren itsnedkeren is offline
Senior Member
 
Join Date: May 2009
Location: Denmark
Posts: 128
Thanks: 32
Thanked 10 Times in 10 Posts
 
Default

Excellent, I'll try. Thanks
__________________
Best regards

Jim
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 12:56
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 04:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.