Buy default the php handler given to a new account is SuPHP, This
handler is the worst handler in the world for performance. We should be
able to use PHP-FPM or FCGI by default. We
can't deliver highly requested website on a SuPHP configuration, this is
impossible. This a major problem that is stopping us from delivering
new server with EeasyApache 4. I really hope you are planing to add the
possibility to select PHP-FPM or FCGI as the default php Handler to new account.
This is now public, and available in v66 in the CURRENT tier! Get a quick overview of all the improvements on the version 66 Release Site. If you have questions, feel free to join me for the next few hours in this public hipchat room:
https://www.hipchat.com/gQ7xUUD7i
This is now public, and available in v66 in the CURRENT tier! Get a quick overview of all the improvements on the version 66 Release Site. If you have questions, feel free to join me for the next few hours in this public hipchat room:
https://www.hipchat.com/gQ7xUUD7i
I came here from a support request. Really surprised it's not possible to use FPM by default!
I came here from a support request. Really surprised it's not possible to use FPM by default!
We've been discussing internally what it would take to get this request resolved. It's not officially on the roadmap yet, but it's definitely something we'd like to get added.
We've been discussing internally what it would take to get this request resolved. It's not officially on the roadmap yet, but it's definitely something we'd like to get added.
I believe PHP-FPM should be the default configuration for all accounts in cPanel because it causes infinitely less load compared suPHP. and that means every cPanel machine that runs PHP will have just a fraction of its current load, saving cPanel's customers combined millions in hosting fees and enabling them to scale much easier.
suPHP on our server caused 5 times the load compared to PHP-FPM. PHP-FPM has all the security advantages of suPHP, combined with the raw speed of DSO. there is no major downside. everyone wins.
I believe PHP-FPM should be the default configuration for all accounts in cPanel because it causes infinitely less load compared suPHP. and that means every cPanel machine that runs PHP will have just a fraction of its current load, saving cPanel's customers combined millions in hosting fees and enabling them to scale much easier.
suPHP on our server caused 5 times the load compared to PHP-FPM. PHP-FPM has all the security advantages of suPHP, combined with the raw speed of DSO. there is no major downside. everyone wins.
Hello everybody. I would like to analyze and discuss the pros and cons of having PHP-FPM enabled for everyone in a shared server with 350 accounts and only 8 GB of RAM. The load, we know, will be kept at remarkably/unbelievable low values, but what about RAM usage? Is there any possibility that this feature become a resource hog?
And what could happen with resource usage when cPanel release FastCGI options?
Hello everybody. I would like to analyze and discuss the pros and cons of having PHP-FPM enabled for everyone in a shared server with 350 accounts and only 8 GB of RAM. The load, we know, will be kept at remarkably/unbelievable low values, but what about RAM usage? Is there any possibility that this feature become a resource hog?
And what could happen with resource usage when cPanel release FastCGI options?
Hi Kent,
You're right to ask this. I think with the benefits of the increased performance, overall you could end up with both less load and perhaps the same level of RAM usage. I didn't experience any noticeable increase in RAM usage when switching to PHP-FPM. If needed you could decrease the size of your server's database caches (we kept ours the same size) and in the end you're performance would still be much, much better than before.
Alex
Hi Kent,
You're right to ask this. I think with the benefits of the increased performance, overall you could end up with both less load and perhaps the same level of RAM usage. I didn't experience any noticeable increase in RAM usage when switching to PHP-FPM. If needed you could decrease the size of your server's database caches (we kept ours the same size) and in the end you're performance would still be much, much better than before.
Alex
PHP-FPM really bring great performance improvement, and about 5-6 times lower CPU usage, almost without changes in RAM usage.
There could be some RAM usage increase with lot of accounts, but that is why this feature should be implemented to allow us to configure this per hosting package or feature list, so that we can create hosting packages that will use PHP-FPM by default, and also have other packages that will use SuPHP or CGI or whatever is configured as default on the server.
PHP-FPM really bring great performance improvement, and about 5-6 times lower CPU usage, almost without changes in RAM usage.
There could be some RAM usage increase with lot of accounts, but that is why this feature should be implemented to allow us to configure this per hosting package or feature list, so that we can create hosting packages that will use PHP-FPM by default, and also have other packages that will use SuPHP or CGI or whatever is configured as default on the server.
This request has made it to one of our product backlogs! We may (and I stress MAY) be able to squeeze this into the development for version 64, but it's not for sure yet and there are many moving parts that could push it out further. As soon as I know anything for sure I'll let you know!
This request has made it to one of our product backlogs! We may (and I stress MAY) be able to squeeze this into the development for version 64, but it's not for sure yet and there are many moving parts that could push it out further. As soon as I know anything for sure I'll let you know!
Hi benny.
Is there an change in v64 on this feature?
Hi benny.
Is there an change in v64 on this feature?
I just checked in with the team that had this on their backlog for version 64 and can confirm that this will not make it into version 64. It's on the list for discussion as we go into planning for version 66, but we don't have anything firm yet. As soon as I know more, I'll be back!
I just checked in with the team that had this on their backlog for version 64 and can confirm that this will not make it into version 64. It's on the list for discussion as we go into planning for version 66, but we don't have anything firm yet. As soon as I know more, I'll be back!
Hi Benny;
We are ready to wait for v66.
This function is especially important for system administrators, and the sooner we will be, the happier we will be.
Good luck cpanel team. :)
Hi Benny;
We are ready to wait for v66.
This function is especially important for system administrators, and the sooner we will be, the happier we will be.
Good luck cpanel team. :)
This is on the list of goals for version 66! Once it gets developed and is available for public testing in an EDGE version I'll be back to let everyone know!
This is on the list of goals for version 66! Once it gets developed and is available for public testing in an EDGE version I'll be back to let everyone know!
This is now in a public EDGE-tier build of cPanel & WHM:
* Implemented case CPANEL-13191: Allow setting PHP-FPM for new accounts by default.
* Implemented case CPANEL-13227: Enable PHP-FPM on all domains as they are created.
Please do take a look, if you have a server on the EDGE tier. Otherwise, look forward to it being included in version 66!
This is now in a public EDGE-tier build of cPanel & WHM:
* Implemented case CPANEL-13191: Allow setting PHP-FPM for new accounts by default.
* Implemented case CPANEL-13227: Enable PHP-FPM on all domains as they are created.
Please do take a look, if you have a server on the EDGE tier. Otherwise, look forward to it being included in version 66!
Hi Benny,
This will also apply to Addons and Subdomains when they are created or just for the main domain ?
Hi Benny,
This will also apply to Addons and Subdomains when they are created or just for the main domain ?
Great News ! Look forward to v66 - one question though, while being able to enable FPM by default can we also set default pool options so that we don't have to manually change each one? Or would this be an additional feature request?
Thanks
Great News ! Look forward to v66 - one question though, while being able to enable FPM by default can we also set default pool options so that we don't have to manually change each one? Or would this be an additional feature request?
Thanks
Thank you, thank you, thank you, Benny and cpanel team.
I'll start testing.
Thank you, thank you, thank you, Benny and cpanel team.
I'll start testing.
This is now public, and available in v66 in the CURRENT tier! Get a quick overview of all the improvements on the version 66 Release Site. If you have questions, feel free to join me for the next few hours in this public hipchat room:
https://www.hipchat.com/gQ7xUUD7i
This is now public, and available in v66 in the CURRENT tier! Get a quick overview of all the improvements on the version 66 Release Site. If you have questions, feel free to join me for the next few hours in this public hipchat room:
https://www.hipchat.com/gQ7xUUD7i
Replies have been locked on this page!