WHM EasyApache 4 PHP missing

CloudLinux PHP versions missing in PHP Selector

On a Cpanel server running CloudLinux, PHP Selector did not show all PHP versions.

cloudlinux php selector

I reinstalled EasyApache profile “CloudLinux + All PHP Options + OpCache + mod_lsapi”.

WHM EasyApache 4  PHP missing

Even after installing EasyApache profile with all PHP versions, PHP 7.2 and PHP 7.4 was missing on this server.

To fix, the problem, i run

CloudLinux PHP Selector on Cpanel Server

CloudLinux come with PHP Selector, this allow you to select differnt PHP versions. When you enable PHP selector, you should do the following.

Related Posts

Enable CloudLinux PHP lsapi

cpanel server

EasyApache 4 installing PHP 5

Cpanel have removed PHP 7.0 and older version from newer cpanel installations. Existing servers with older version of PHP will continue working.


If you have a new cpanel server, but required older PHP version for some of your site to work, you can download EasyApache 4 profile from another server and upload to your server and provision it to get older PHP version.

I have EA4 profile with Older PHP version available at


To install, run following commands as root

Or save content of gist https://gist.github.com/serverok/ba97370b3184b480e29cf22c89dc69c3 as serverok-all-php.json, then upload it at

cpanel server

Now login to WHM > EasyApache 4, you will see

EasyApache4 php 5.6

Click on “Provision” to install older PHP versions.

Related Posts

Reinstall EasyApache4
CloudLinux EasyApache 4 Profile Missing
Cpanel Server


KernelCare Unknown Kernel

On Cpanel server with KernelCare installed, i keep getting email


This is because the kernel is not yet supported by kernalcare. Since this kernal is provided by CloudLinux, you don’t have to worry. CloudLinux support said they do add support for KernelCare after 3 to 4 days of releasing new kernel.

To disable this warning, edit file


You can find more KernelCare options at


You can always check if KernelCare supports your current kernel here:


KernelCare update kernel using cronjob in /etc/cron.d/kcare-cron

Related Posts

Install KernelCare

WHM php.ini editor

Disable PHP disable_functions on Cpanel Server

On a Cpanel Server using CentOS 7 + php-fpm, site phpinfo() shows few functions are set to disabled in disable_functions.

PHP disable_functions

I checked server wide PHP configuration in WHM for the PHP version the site is using. There is no disable_functions specified.

WHM php.ini editor

This is because in Cpanel server running in PHP-FPM, you need to edit php-fpm pool config file at

Replace ea-php73 with whatever PHP version you selected for this web site.

Remove the line

Restart php-fpm with

See Cpanel Server

Disable 2 Factor Authentication in Cpanel

To disable 2 Factor Autentication for WHM in Cpanel Server, SSH into server as user root, run

Or run

This will create a link for WHM login, using this link won’t require 2 Factor Authentication. After logging into WHM, you can disable 2 Factor Autentication.

If you want 2 FA disabled for a cpanel user, run