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. https://blog.cpanel.com/removal-of-php-5-6-and-php-7-0-in-easyapache-profiles/ 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 […]

Read More…

Disable PHP disable_functions on Cpanel Server

WHM php.ini editor

On a Cpanel Server using CentOS 7 + php-fpm, site phpinfo() shows few functions are set to disabled in disable_functions. I checked server wide PHP configuration in WHM for the PHP version the site is using. There is no disable_functions specified.

This is because in Cpanel server running in PHP-FPM, you need to edit […]

Read More…

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 […]

Read More…

Enable HTTP/2 in Cpanel Server

Cpanel enable http2

HTTP/2 only work with mod_worker or mod_event. if you use other mpm modulesm you need to swith to worker or event. To install http2, login to WHM as user root. Go to

Now under Apache Modules, search for “http2”. Use the selector on right side to install it. Click “Next” until it it reach […]

Read More…