Prior to running the installation script, you must create a settings.php file and set some permissions.
Your Drupal download comes with a sample configuration file at
sites/default /default.settings.php. The default file must be copied and the new file must be given the correct name,
Please note: With Drupal 7.x, on some types of shared/local hosting, if PHP and Apache are run by the same user, Drupal will attempt to execute the first three steps for you. If you get errors referring to the "Settings file" during installation, you can perform these steps manually.
- Copy the
Do this from the command line (working from the root of the directory containing your Drupal installation) by typing
cp sites/default/default.settings.php sites/default/settings.php.
Please note: Do not simply rename the file. The Drupal installer needs both files.
- You should now have a default.settings.php AND a settings.php file in your
- Make the settings file writeable, so that the installer can edit it, type
chmod a+w sites/default/settings.phpor
chmod 666 sites/default/settings.php