Fatal Error: Call to undefined function mysqli_connect() in homeuserpublic_htmlincludesconnection.php Print

  • 0

Error Message

Fatal error: Call to undefined function mysqli_connect() in /home/user/public_html/includes/connection.php

Cause

MySQL Improved extension was disabled in the hosting environment.

Solution

Fix this error by enabling the MySQL Improved extension and recompiling the Apache via EasyApache.

The MySQL Improved extension is an improved version of the older PHP MySQL driver used in PHP to provide an interface with MySQL databases.

To enable the Improved extension from WHM, refer to the following knowledgebase article - Enable/ Disable PHP Extensions using EasyApache


Was this answer helpful?

« Back

chat