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:
If you see:
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:
- Go to:
Software → MultiPHP Manager
- Find the appropriate domain.
- Enable PHP-FPM.
- Confirm the change.
- 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:
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:
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:
can still be changed in:
Software → MultiPHP INI Editor
PHP-FPM does not replace these settings.
Example:
6. What to do after making a change¶
After enabling or disabling PHP-FPM, or changing the PHP version:
- open the website,
- check the home page,
- log in to the administration panel,
- check forms,
- 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
500error, - 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:
- Log in to cPanel.
- Go to:
Software → MultiPHP Manager
- Find your domain.
- Check the PHP-FPM status.
- If the option is available, you can enable or disable it.
- 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.