How to install MySQLi in WHM?

Normal error which you get when MySQLi is not installed on your server.

Fatal error: Call to undefined function mysqli_connect() in /home/username/public_html/function/file.php on line 17

Here is the simple steps to install MySQLi in WHM, Below steps will guide you how to install MySqli with EachApache in WHM.

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 “Customizing Profile” Icon
  5. On Apache Version Screen click “Next Step”.
  6. PHP Version Screen click “Next Step”.
  7. On Short Options List Screen Click “Exhaustive Options List”
  8. On”Exhaustive Options List” Screen search  “MySQL “Improved” extension.” and Select
  9. Click “Save and Build”
  10. You are done now, just wait for server to build your settings.
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *