Unable to use the MySQLi database because the MySQLi extension for PHP is not installed

Problem

You receive a error message at the bottom of the screen reading The mysqli error was: Unable to use the MySQLi database because the MySQLi extension for PHP is not installed. Check your <code>php.ini</code> to see how you can enable it.

Scenario

You followed all of the instructions to manually transfer your test machine site via FTP to the web. You visit your site and encounter a Drupal screen indicating the site is off-line.

The error message at the bottom of the screen reads The mysqli error was: Unable to use the MySQLi database because the MySQLi extension for PHP is not installed. Check your <code>php.ini</code> to see how you can enable it.

Quick Solution

  • Navigate to PHPConfig in Hostmonster's C-Panel.
  • Change the setting from PHP4 to PHP5.

Detailed Solution


To enable the MySQLi database:
  • Log in to your Hostmonster account.
  • Click on PHPConfig in the C-Panel.
  • Change the setting from PHP4 to PHP5 by clicking on the corresponding button.
  • Press "Save changes."

Refresh your browser. You should now see your site.

0
Your rating: None