This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Introducing Cloudways Community Forum. Start Discussions and Get Instant Help From Cloudways Community. JOIN NOW

How to Install PHP-FPM on Existing ServersJune 21, 2017

 

In this KB

  • What is PHP-FPM?
  • Note about app compatibility
  • How to install PHP-FPM
  • Important notes

 

PHP-FPM is the modern PHP FastCGI process manager and is the newest alternative of mod_php.  There are many advantages of PHP-FPM, such as faster speed and better performance due to low memory utilization. It runs as its own process and is not dependent on the web server, like mod_php.  To compare the performance benchmarks between mod_PHP and PHP-FPM, visit our blog post here.

This guide will show you how to enable PHP-FPM on your existing servers at Cloudways.

PHP-FPM will be automatically installed in all new servers deployed from August 23, 2016 onwards as a part of the default installation.

For existing servers, FPM can be installed from the console from the Packages tab in the Server Settings & Packages section, which can be accessed from the Server Management area as shown in the steps below.

Note: Double check your application(s) compatibilities with FPM before activating it on your server, because once FPM is installed, it can not be reversed.

Step 1: Go to Server Management

Log into the Cloudways Platform with your credentials. Click on Servers in the top menu bar. Then, click on your target server from the list

Server management

Step 2: Install PHP-FPM

After clicking on the target server, you will be in the Server Management area. Click on the Settings & Packages section. Then, click on the Packages tab and click on the Install button next to PHP-FPM.

You can track the installation progress as seen below. It will be completed in a few minutes.

Important Notes:

  • After PHP-FPM is installed, it cannot be uninstalled and the action is non-reversible. Please double check your application(s) compatibilities with FPM before activating it on your server.
  • Any PHP directives defined in .htaccess will not be used. You can use the PHP settings editor to change your PHP settings.
Please insert Content
Have Questions? Ask From Our Helpful Community

8 Responses

  1. Lawrence Norton says:

    This option is not on my packages tab of server configuration. Poor write up.

  2. Jaspal says:

    Hi .. will WordPress applications work on PHP-FPM?

  3. Sukarto says:

    I read this warning:
    “Once again, after PHP-FPM is installed, it cannot be uninstalled and the action is non-reversible. Please double check your application(s) compatibilities with FPM before activating it on your server.”

    How to check application compatibilities?

    • Cloudways says:

      You can clone the server and the new server (with all the apps the source server had), will be deployed with php-fpm. You can check if all works in the cloned server, and if so, upgrade to fpm on the source server.

      Cloudways Team

  4. Morten says:

    It it compatible with PrestaShop 1.6 (standard configuration)?

    • Cloudways says:

      It should be, but as explained, check first site functionality on a cloned application / server before making the change in your live site.

      Cloudways Team

Do you still need help?

Our Technical Support team is always at work.