diff --git a/install.php b/install.php
index be479fa6f9530d4a75ec4402f5c4f2b386a96c44..73e166231e3592e0b641797bba54c249767f1919 100644
--- a/install.php
+++ b/install.php
@@ -64,14 +64,15 @@ function install_main() {
   // Load the profile.
   require_once "./profiles/$profile/$profile.profile";
 
+  // Check the installation requirements for Drupal and this profile.
+  install_check_requirements($profile);
+
   // Change the settings.php information if verification failed earlier.
+  // Note: will trigger a redirect if database credentials change.
   if (!$verify) {
     install_change_settings($profile, $install_locale);
   }
 
-  // Check the installation requirements for Drupal and this profile.
-  install_check_requirements($profile);
-
   // Perform actual installation defined in the profile.
   $modules = drupal_verify_profile($profile, $install_locale);
   drupal_install_profile($profile, $modules);