How To Set A Domain’s PHP-FPM Pool Options In WHM ?
Linux Dedicated Server allows you to host multiple websites under your web hosting space. Linux Dedicated Server comes with full root access where you will be having control to make any changes at any time.
PHP FastCGI Process Manager (PHP-FPM) is an alternative FastCGI daemon for PHP that allows a website to handle strenuous loads. PHP-FPM maintains pools (workers that can respond to PHP requests) to accomplish. It does not overload a system’s memory with PHP from Apache processes.
Kindly follow the below procedure to set Domain’s PHP-FPM Pool.
- Login to WHM.
- Go to “MultiPHP Manager” option under Software
- Go to “System PHP-FPM Configuration”
If you want to configure the domain level pool option value and PHP INI directives, you can configure this through the Edit PHP-FPM button in the domains table. You can see the domains table in the PHP Version tab.
PHP pool option has some limitation to set the values. You can find the default values and limits for each option from the following.
Pool Options Default Limit
Max Children 5 1-10,000
Process Idle Timeout (s) 10 1-10,000,000
Max Requests 20 1-10,000,000
Now you can save the changes by selecting the button “Save Configuration”. The system will display a success message.