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.

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.