Best OS for Installation for CPanel & WHM ?

softenterprise0

Registered
Dec 29, 2021
1
0
1
Pakistan
cPanel Access Level
Root Administrator
Hello
I just have purchased a new dedicated server, and which OS is officially recommended and compatible to install and run a smooth WHM and Cpanel?
Also, I have heard that Cpanel is not recommended for Ubuntu 20.04 LTS? Is that so? If yes, can we install an older version of CPanel to Ubuntu 20.04 LTS?
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,041
112
118
Houston, TX
cPanel Access Level
Root Administrator

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
Ubuntu is still experimental.

I recommend not using it until it's stable. Centos 7 is stable now and will continue to support until 2024, if you want a longer support period, almalinux 8 will be a better option.

Important note: You cannot use versions below php 7.2 on Almalinux 8 and versions below php 7.3 on ubuntu. In addition, ubuntu currently only supports mysql 8, no mariadb support.
 

AndyB78

Well-Known Member
Oct 7, 2003
88
3
158
Romania
cPanel Access Level
Root Administrator
Quite frankly, support for old versions of PHP is a really big deal.

Can we please get a refresh for which are the best operating systems for cPanel now at the beginning of 2023 especially that we are slowly getting close to CentOS7 EOL?

Thanks!
 

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
Quite frankly, support for old versions of PHP is a really big deal.

Can we please get a refresh for which are the best operating systems for cPanel now at the beginning of 2023 especially that we are slowly getting close to CentOS7 EOL?

Thanks!
There is no change.

Currently, Almalinux 8 is the most suitable choice for update support and stability.

If you have sites under PHP 7.2, you should prefer imunify360's hardened php feature or cloudlinux.

Edit: Alternatives in RocyLinux 8. But since almalinux was developed together with cpanel, I look more warmly.
 
  • Like
Reactions: cPRex

AndyB78

Well-Known Member
Oct 7, 2003
88
3
158
Romania
cPanel Access Level
Root Administrator
If you have sites under PHP 7.2, you should prefer imunify360's hardened php feature or cloudlinux.
Thank you for the update. So the CloudLinux PHP Selector will still offer old versions of PHP like 5.3 even on AlmaLinux 8?

By the way, AlmaLinux 8 active support ends on May 1st 2024 but security updates should continue until 2029. I hope cPanel will continue to support it until 2029, not 2024.
 

quietFinn

Well-Known Member
Feb 4, 2006
2,042
551
493
Finland
cPanel Access Level
Root Administrator

AndyB78

Well-Known Member
Oct 7, 2003
88
3
158
Romania
cPanel Access Level
Root Administrator
I am a little bit puzzled as I have just installed a AlmaLinux 8 server with cPanel 108.0.15 and I have managed to installed with ease versions like EA PHP 5.1 - 7.1 from EA4.

I thought that PHP versions offered by cPanel (EA PHP) under AlmaLinux 8 would start from 7.2. It's true I have also installed CloudLinux on the server but only after installing old EA versions from EA4. Anyway, I am not speaking about ALT PHP versions. I am speaking about EA ones. I even have EA PHP 5.1.

Right now I don't have a site at my disposal that would actually work under such old versions so I am not sure if they actually work but at least phpinfo() output suggest they do.

So I must have misunderstood something.
 

quietFinn

Well-Known Member
Feb 4, 2006
2,042
551
493
Finland
cPanel Access Level
Root Administrator
@AndyB78
in EasyAoache, when you look at the PHP versions, they are provided by cloudlinux. For ex. php52 5.2.17-3.el8.cloudlinux.2 ?
I just installed cPanel in AlmaLinux 8 and in EA there are PHP versions 7.2 - 8.2.
 
  • Like
Reactions: vacancy and cPRex