How to install mysqli in cpanel

To install mysqli using EachApache:

1. Login to WHM as ‘root’ user.

2. Either search for “EasyApache” or go to Software > EasyApache

3. Scroll down and select a build option (Previously Saved Config)

4. Click Start “Start customizing based on profile”

5. Select the version of Apache and click “Next Step”.

6. Select the version of PHP and click “Next Step”.

7. Chose additional options within the “Short Options List”

8. Select “Exhaustive Options List” and look for “MySQL Improved extension”

9. Click “Save and Build”

 

To check mysqli was installed:

 

Run the following command as ‘root’ in SSH:

php -i|grep -i mysqli

kbadmin has written 149 articles

Loading Facebook Comments ...

This site uses Akismet to reduce spam. Learn how your comment data is processed.