Run the install script

Last modified: October 11, 2007 - 16:18

The install script will set the base URL, connect Drupal to the database, and create tables in the database.

To run the install script point your browser to the base URL of your website (i.e. http://www.example.com). You will be presented with the "Database Configuration" page.

on success, you will see the Drupal installation complete screen. If there are any error message, review and correct them now.

The install script will attempt to write-protect the settings.php after updating it with the information you provide in the installation routine. If you make manual changes to that file later, be sure to protect it again after making your modifications. Failure to remove write permissions to that file is a security risk. The default location for the settings.php file is at sites/default/settings.php. If you are using a multi-site configuration, it may be in another location.

Manually rerun the install script

mauror - April 27, 2008 - 21:06

I have come across this http://drupal.org/node/247724#comment-818573, and so I think it should be noted explicitly here that you can actually run the install script as many times as you like (if you make a mistake filling in the forms, eg).

Installer will always fail due to write permissions

asb - May 1, 2008 - 20:26

The Drupal Installer will always fail due to write permissions.

You have to do an

chmod 777 sites/default/settings.php

... and after installation:

chmod 755 sites/default/settings.php

Greetings, -asb

Confused

drsuperman - August 1, 2008 - 18:53

"You have to do an

chmod 777 sites/default/settings.php

... and after installation:

chmod 755 sites/default/settings.php"

Where do you put this???

Thanks

Use your FTP client to change file permissions...

mattski - August 2, 2008 - 07:26

If you have ssh access to the server you can change file permissions by using the chmod command as above.
If not you can use your web-host's control panel, or the FTP client you used to upload the files.

All FTP clients worth their salt let you change file permissions (usually right-click -> attributes/permissions/properties).
From within your FTP client you should be able to navigate to sites/default/ then look at the current permissions set for the file settings.php ; it will probably be 755 or 644. Change it to 777 (allow all to read and write), complete the "Database Configuration", then change the permission back to how you found it.

what is going in here?

nickj - March 5, 2009 - 19:18

I am very confused as to what is going on here?

Don't get install script/page

mbrown3 - April 13, 2009 - 14:30

I've followed all of the steps explicitly, but when I go to the main site URL, the install page/script does not show up. I just get a page from the host saying, "this page is under construction" (it's the standard generic page holder). Why are the install pages not showing up?

I followed the guide on a new

jeffpoulsen - May 2, 2009 - 15:42

I followed the guide on a new install and can't get the index page to load to set up the data base connections.

 
 

Drupal is a registered trademark of Dries Buytaert.