MultiPHP Manager Apache PHP-FPM
In this blog we will learn How to use Apache PHP-FPM in the MultiPHP Manager Interface using WHM.
With MultiPHP Manager you can manage the Apache PHP and Apache PHP-FPM setting’s for your server. You can also edit and individual Apache PHP and PHP-FPM setting’s for your cPanel users.
Enable the Apache PHP-FPM setting to give your cPanel users a faster website load time. To help your cPanel users so as the best PHP version to run on their website use the apache PHP settings.
This blog focuses on the Apache PHP-FPM’s settings in the MultiPHP Manager Interface. Apache PHP-FPM is a PHP Manager that allows your system to process website requests very fast.
FPM stands for fast CGI process Manager without PHP-FPM Apache server’s process requests as they come one at a time. PHP can pick up to 1 second to get started well! This may not sound like a lot to us; this is a long time for website request to wait.
If those website requests strike apache alone may not be fast enough to handle those requests. When you enable Apache PHP-FPM the PHP master process starts up PHP instance for each domain in pool. Apache can respond to request as faster because the PHP instances help it to respond PHP-FPM pools are other processes that Apache creates to handle heavy loads. Each domain has process pools whose sole job is to wait for a request to arrive.
The PHP-FPM Master Process manages these pools. When a request comes Apache talks to the Apache PHP-FPM Master Process. The Master process receives Apache’s requests then it directs the request to the pool process that would process it. Since each domain will have its own pool, the processing request happen superfast.
The PHP applications for those domains pool works faster. Your cPanel user’s websites will load faster and they will handle traffic better than they would without apache PHP-FPM that is an advantage that you want to share with them.
Let’s navigate to WHM’s MultiPHP Manager Interface in WHM to get started:
Log in to WHM. Then search for MultiPHP Manager or find it under the software section in the left menu.
You will find system Apache PHP-FPM settings in the system PHP-FPM section. When you enable the system Apache PHP-FPM your cPanel user’s domains will be viewed by default. To enable click Turn-On. If you have a new installation of cPanel and WHM version 76, your system Apache PHP-FPM may already be on by default. Great!
Once the system Apache PHP-FPM setting is on then two buttons appear-the “Turn Off” button that disables the system Apache PHP-FPM, the convert All accounts to PHP-FP button does what it says. It allows you to convert all your cPanel users’ domains to use Apache PHP-FPM. Before you click this button please follow below guidelines:
Your server must have at least 24GB of RAM available and at least 30MB of RAM available for domain. These guidelines will help you prevent server performance issues. Make sure that you have the right amount of memory before you convert all your domains to Apache PHP-FPM.
Since our server meets these guidelines I would click ‘Convert all Accounts to PHP-FPM’. To change the Apache PHP-FPM settings for one domain. Scroll Down to the domains table, find the domain that you want to change.
In this case we select peacockwear.in at the end of its row you will find the toggle under the PHP/FP column. Set the toggle to on to enable Apache PHP-FPM or to off to disable it.
options settings. The window shows- Max Children, Process Idle Time out and Max Requests settings. The pool options button will appear when you set the Apache PHP-FPM toggle to on. The pool options = are resources that the PHP-FPM master processes provides for a domain. To edit the pool options click the pool options button a window will appear that shows you the pool
The pool options button will appear when you set the Apache PHP-FPM toggle to on.
The pool options = are resources that the PHP-FPM master processes provides for a domain. To edit the pool options click the pool options button a window will appear that shows you the pool options settings. The window shows- Max Children, Process Idle Time out and Max Requests settings.
To change any of these settings enter the new number setting in the appropriate text box.
Then click save. For now I have changed the default settings. So I would click Save.
You can enable the Apache PHP-FPM setting for more than one domain. Find the domain that you want to edit in the domains table. You can set the toggle for new domain in the PHP-FPM column to ‘On’. Select ’on’ from the PHP-FPM menu on the right, and then click ‘Apply’.
You cannot turn on Apache PHP-FPM on domains that inherits their Apache PHP version. To enable Apache PHP-FPM for that domain change the inherit setting to any Apache PHP version.
One last thing changes to Apache PHP-FPM may take up to 2 minutes to take effect. Please be patient, it will be worth it!
And now you are ready to edit the Apache PHP-FPM settings for your cPanel user’s domain.
Visit: Hostripples!
Best cPanel Reseller Web Hosting Company
Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…
As the digital landscape continues to evolve, securing your website has never been more crucial. SSL, or Secure Sockets Layer,…
As a web designer and web developer your experience must have reached to new height, right? Further, you need to…
In today's digital landscape, timing is everything. Whether you're a social media manager, business owner, or content creator, the success…
Are you a website owner? Maintaining the website is the prime concern for any website owner. Yes, it’s equally important…