The MySQL adapter mysqli is not available – WHM

After deploying a new server and installing WHM the following error was showing when accessing a Joomla site:

Error displaying the error page: Application Instantiation Error: The MySQL adapter mysqli is not available

This is as a result of MySQLi not being selected in the EasyApache3 compilation.

In WHM:

Select EasyApache3 -> Click on the gear icon

"EasyApache3"

Follow the steps until you get to:

  1. Exhaustive Options List

Tick ‘MySQL “Improved” extension” and then click “Save and build” (at the bottom of the screen)

"mysqli"