I am getting this error, Fatal error: Call to undefined function mysqli_connect() or ERROR: No MySQLi extension found. Please install it. Print

  • 97

If you are getting an error like the following;

Fatal error: Call to undefined function mysqli_connect()

Or

ERROR: No MySQLi extension found. Please install it.

Please enable mysqli in your PHP settings.

  1. Log into cPanel.
  2. Click Select PHP Version.
  3. Choose the PHP version that you want to run.
  4. Click Set as current.
  5. Select mysqli.
  6. Click save.
The error should no longer be present.

Was this answer helpful?

« Back