Index: install.php
===================================================================
RCS file: /cvs/drupal/drupal/install.php,v
retrieving revision 1.53
diff -u -r1.53 install.php
--- install.php	22 May 2007 07:42:36 -0000	1.53
+++ install.php	27 May 2007 00:22:04 -0000
@@ -213,6 +213,9 @@
     $db_host = 'localhost';
   }
   $db_types = drupal_detect_database_types();
+  if (isset($db_types['mysqli'])) {
+     unset($db_types['mysql']);
+  }
   if (count($db_types) == 0) {
     $form['no_db_types'] = array(
       '#value' => st('Your web server does not appear to support any common database types. Check with your hosting provider to see if they offer any databases that <a href="@drupal-databases">Drupal supports</a>.', array('@drupal-databases' => 'http://drupal.org/node/270#database')),
@@ -227,7 +230,6 @@
 
     if (count($db_types) > 1) {
       // Database type
-      $db_types = drupal_detect_database_types();
       $form['basic_options']['db_type'] = array(
         '#type' => 'radios',
         '#title' => st('Database type'),
