Skip to content

PHP-FPM in cPanel

PHP-FPM is a way of running PHP that can help handle a larger number of website requests more efficiently.

In practice, it is usually worth enabling PHP-FPM, especially for websites based on:

  • WordPress,
  • WooCommerce,
  • Joomla,
  • PrestaShop,
  • custom PHP applications.

PHP-FPM runs in the background and keeps PHP processes ready, so the server does not need to start PHP from scratch for every website request.


1. Where to check PHP-FPM

After logging in to cPanel, go to:

Software → MultiPHP Manager

You will see a list of domains assigned to the hosting account.

For each domain, you can check, among other things:

  • the PHP version in use,
  • whether PHP-FPM is enabled.

Example:

domena.pl
PHP 8.3
PHP-FPM: Enabled

If you see:

PHP-FPM: Enabled

PHP-FPM is active for that domain.


2. Enabling PHP-FPM

Whether you can enable or disable PHP-FPM yourself depends on the hosting configuration.

If a PHP-FPM setting is available for the domain:

  1. Go to:

Software → MultiPHP Manager

  1. Find the appropriate domain.
  2. Enable PHP-FPM.
  3. Confirm the change.
  4. Check whether the website works correctly.

If cPanel only shows the PHP-FPM status and does not allow you to change it, the setting is managed by the server administrator.

In that case, contact Cloud4You technical support.


3. Is it worth enabling PHP-FPM?

In most cases:

PHP-FPM = enabled

is a good choice.

PHP-FPM can improve the handling of multiple simultaneous requests and provide more predictable performance for PHP applications.

However, enabling PHP-FPM alone does not automatically make every website faster.

Website performance also depends on factors such as:

  • the application itself,
  • the database,
  • plugins,
  • the theme,
  • cache,
  • available hosting resources.

4. PHP-FPM and the PHP version

PHP-FPM works with the specific PHP version assigned to the domain.

Example:

domena.pl
PHP 8.3
PHP-FPM Enabled

If you change the PHP version in MultiPHP Manager, the PHP-FPM configuration should be adjusted to the new PHP version.

After every PHP version change, check whether the website still works correctly.


5. PHP-FPM and PHP settings

Parameters such as:

memory_limit
upload_max_filesize
post_max_size
max_execution_time
max_input_vars

can still be changed in:

Software → MultiPHP INI Editor

PHP-FPM does not replace these settings.

Example:

memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 128M

6. What to do after making a change

After enabling or disabling PHP-FPM, or changing the PHP version:

  1. open the website,
  2. check the home page,
  3. log in to the administration panel,
  4. check forms,
  5. if you run an online store, check the cart and order process.

If everything works correctly, the configuration is valid.


7. What to do if the website stops working

If, after changing PHP-FPM, the website:

  • shows an error,
  • displays a blank page,
  • returns a 500 error,
  • stops executing PHP scripts correctly,

restore the previous setting if the panel allows it.

If you cannot change PHP-FPM yourself, contact Cloud4You technical support.


8. Simplest procedure

To check PHP-FPM:

  1. Log in to cPanel.
  2. Go to:

Software → MultiPHP Manager

  1. Find your domain.
  2. Check the PHP-FPM status.
  3. If the option is available, you can enable or disable it.
  4. After the change, verify that the website works.

Done.

If you cannot change the PHP-FPM status in cPanel, the feature is managed by the hosting administrator.