> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation of MySQLi extension for Linux VPS/Cloud via cPanel WHM

## In order to enable to MySQLi extension in your WHM, please follow these steps:

1. Log into the **WHM** with your **root** credentials.

![](https://tutorials.my-virtual-panel.com/articles/DumQ61S.jpg)

2. Go to the **EasyApache** (Apache Update) menu, located in the **Software** section or use the search box to find it.

![](https://tutorials.my-virtual-panel.com/articles/VNUfyLH.jpg)

3. On the EasyApache page, make sure your **Previously Saved (Default)** configuration is selected and click on **Customize Profil**e.

![](https://tutorials.my-virtual-panel.com/articles/d96wsQI.jpg)

4. Keep clicking **Next Step**, until you reach the **Short Options List** page and scroll to the bottom of the page.

5. Click on the **Exhaustive Options List** button.

![](https://tutorials.my-virtual-panel.com/articles/lYCQ1wS.jpg)

6. On this page, scroll down to the **PHP section** and find **MySQL Improved extension**.

You can use the page search option of your browser to locate the extension faster **(Ctrl+F)**.

![](https://tutorials.my-virtual-panel.com/articles//jAUYEFx.jpg)

7. Ensure the **check box is filled in** and scroll to the bottom.

8. Click the **Save Only** button.

![](https://tutorials.my-virtual-panel.com/articles/ExwXdUn.jpg)

9. On the next page, click the **Build profile I just saved** button.

![](https://tutorials.my-virtual-panel.com/articles/gPV9PiW.jpg)

10. A pop box will appear and ask you to **recompile Apache and PHP**, select **Yes** and **I understand**, if prompted.

![](https://tutorials.my-virtual-panel.com/articles/9WRVGyz.jpg)

11. Wait until the Build ouput is complete and the **MySQLi** extension should be installed/enabled.

Please do not log out of the WHM or interrupt the rebuild process and wait for it to be completed.

For more information on the cPanel Easy Apache please review the official documentation from cPanel available at:
