Last updated September 6, 2011. Created by LeeHunter on April 25, 2008.
Edited by silverwing, arianek, lisarex, add1sun. Log in to edit this page.

Drupal provides an installation script that automatically populates database tables and configures the correct settings in the settings.php file. This section covers preparing for installation, running the installation script itself, and the steps that should be done after running the installation script has completed. It also explains how to do a "multi site" installation, where a number of different Drupal sites run off the same code base.

Before proceeding with your first Drupal installation, you should also review the best practices section. For help with Drupal terms, see the glossary page.

Other tools

Some of the steps in the installation process can be performed with tools such as graphical applications for moving files and managing databases or tools that are provided by your hosting service. This documentation focuses on performing tasks at the command line. For information on using other tools, see the documentation that accompanies the application or is provided by your hosting service.

Creating a test site on a local computer

It is considered a good practice to do all development work on a separate test site before making changes to a production site. A test site allows you to evaluate the impact of upgrades, new modules, modifications to themes etc. without causing disruption to your live site. For information about setting up a web server on a local computer, see the Local Server Setup section of the Developing for Drupal guide.

Alternative methods for installation

Some web hosting companies offer "one-click" installations of Drupal, or specific Drupal support. You may be able to locate one on the Drupal hosting handbook page.

There is also information about Drupal distributions, which include installation profiles and pre-packaged distributions of Drupal and modules. These may be of help as well.

See also

The troubleshooting FAQ.

Comments

Reorganize For Clarity

Hi,
It'd be great if D7, D6, D5, and earlier system requirements were broken into their own little header-divided sections, rather than having things all mixed together as they are. That way, the user can just go to the version of Drupal they want to install and see all the requirements for that version all together.

Honey beats vinegar.

Need page to profile differences between releases

For someone familiar with D6, for example, it would help to have a page that just profiled differences in installation between that release and D7. Otherwise someone needs to go through every page to see if 1) there may not be any differences, or 2) there might be differences that for some reason no one posted into the general purpose install guide.

Or perhaps a simple comment could be placed at the top:
"If you are already familiar with installing D6 then nothing significant in D7 has changed and you shouldn't need to re-read this guide."
or
"If you are already familiar with installing D6, D7 has some differences which may be significant. Look for the '*' next to instructions that are fundamentally different between D7 and prior releases."

I understand that version information was removed from this guide, and for good reason. Now we could use some judicious re-insertion where version differences are actually important.

I'd write the material myself but I simply don't know yet. I'm looking to install D7 for the first time today (having installed D6 many times) and without reading everything here I can't tell yet if I need to learn everything from scratch or (more likely) if there's nothing new to learn and I can install in a few minutes just like D6.

Thanks!

Mise à jour D6.2 vers D7

J'ai des problèmes pour mettre à jour mon site (www.pulaar.org). A chaque j'ai le message erreur.
Dans mon espace d'administration j'ai les 2 messages suivants :

1. Field fait partie d'une dépendance circulaire. Cette situation n'est pas gérée, et l'activation de ce module sera donc impossible.
2. Field SQL storage fait partie d'une dépendance circulaire. Cette situation n'est pas gérée, et l'activation de ce module sera donc impossible.
Je sollicite aide (envoyer à bokarba@yahoo.fr)

Manual update from Drupal 7.0 to 7.2

Hi

I've just had my drupal interface tell me I need to update 'manually' from 7.0 to 7.2. Does anyone know how to do this? Are there any instruction anywhere? I've looked everywhere I can and there does not appear to be a concrete/step by step explanation.

Hope someone can help :-)

Ste

Download the update file,

Download the update file, extract the contents and read the document called UPGRADE.TXT you will find there

yes this really helped thanks

yes this really helped thanks a lot :)

Helped my too, cheers Sequin

Helped my too, cheers Sequin

should work automatically -

should work automatically - at least did that for me...

http://www.runner.co.za/ http://www.weather.co.za/ http://nationwide.co.za/ and many other domains are mine and waiting to be developed into real portals. Read my story on http://randolf.jorberg.com/randolf-jorberg/ and connect with me on http://randolf.j

it's easy, you can Do below

it's easy, you can Do below step by step:
1: download the latest drupal7.4 version http://drupal.org/project/drupal, extract it to your computer.
2:BACKUP your production database,sites files.
3:replace all files with the latest files.
4:login with admin account(uid=1),input: http://yourdomain.com/update.php

it's Done.

Thank you for this info. This

Thank you for this info. This help me very much. I will port my old static Partnersuche Website in Drupal7 now. A lot of work for me - puuhhh.

Best Regards

Drupal Installation problem on Ubuntu 11.04

Those who are installing Drupal6 on Ubuntu 11.04 from repositories, may encounter problems. Please go to https://help.ubuntu.com/community/Drupal for some instructions.
After you did an installation through repositories, there may exist two main differences that causes you to search for lots of hours:
1. In order to launch Drupal you should use http://localhost/drupal6/install.php instead of http://localhost/drupal/install.php
2. If it was not still useful type the following into a terminal
sudo cp /etc/drupal/6/apache.conf /etc/apache2/mods-enabled/drupal.conf
and then
sudo /etc/init.d/apache2 restart
now your site should be accessible via http://localhost/drupal6/install.php

"How to" section would greatly benefit new users

After searching through the how to section mentioned above(http://drupal.org/node/21875), I felt just as lost as when I started the installation. It might be beneficial to segment it out into various sections. The major thought I had however was actually something else. I imagine having an "answers" section just in general might really help out us new users since there are just so many things we have questions about. The layout and categories might need to be fixed/edited a bit, but http://drupal.org/node/1122078 could even be the basis for this section. With the popularity of sites like answers.com and all the clones, there certainly is a demand for that type of help (vs. scanning through numerous documents here).

Anyways, just a thought.

Upgrading from 7.x to 7.x+1

Hello. I might have missed it, but do I updated 7.0 the same as 6.0... just copy over everything but the sites folder?

Thanks.

S

Got. Nvrmd

Note to self, READ don't SKIM the previous posts. :)

Yes, if you just want update

Yes, if you just want update 7.x to 7.xx, just do as update drupal6.x to 6.xx

D7.4 to 7.7 update problem

deleted all folders except sites, copied all folders excluding D7.7, when run update.php, white, blank screen shown. After that rolled back to D7.4 (copied back all folders), after that, admin user name and password denied (not found). checked phpmyadmin, found that no rows in user. Created user with insert command, requested for password, and working ok (D7.4). http://vision4life.in

Can u tell where I have done mistake in updating D7.7 ?

pvm610
website : http://vision4life.in

update

D7.7 should start with all folders copied. Then when you will run the update.php it will be ok. Worked for me. I think thats why you got denied for your admin.

done it

I found the mistake. I had not taken the site offline before upgrading. This time took site offline, deleted old , copied new, run update.php,working ok. http://vision4life.in

pvm610
website : http://vision4life.in

Documentors Shouldn't Refer To How They Do Things

Hi,
In the main bodies of pages, I see text that tells how whoever is writing at the time does something or another. I think that such text should be reserved for comments. It detracts from following insructions.

Honey beats vinegar.

Updating Drupal from 7.0 to 7.9?

How do I update drupal? I'm using Bluehost to host my website. I have Drupal 7.0 and I'm being notified that a newer version of Drupal is available, but when I click download, it just downloads a zip file to my computer "downloads" folder? How do I upload that or make it so that my website has the update?

Thanks for any feedback...

Taylor

tjh

Installation Help

I am totally new to Drupal and am having a hard time installing it. I know everything is right but I keep getting this error - Failed to connect to your database server. The server reports the following message: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'.

Any suggestions would be more than helpful.

Thanks,
Megan

I am getting the same errors

I am getting the same errors than you are. Did you manage to get that fixed with the help of a wrapper or what exactly. Any suggestion would be appreciated,

Johny at Capillary treatments

John Pearson - CEO http://www.maurisource.com

New to drupal

Hi everyone, am new to drupal how do i customize it...thanks

Installation profile

Some manufactured for an intranet installation.

Php email function

I want set up the email function but everytime a trigger action sends an Email, i get the following error-

warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. ch2sm3703061igb.4 in C:\xampp\htdocs\drupal-6.24\includes\mail.inc on line 192.

My smtp related code in php is as follows-

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = imap.googlemail.com
; http://php.net/smtp-port
smtp_port = 993

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = jatingupta69@gmail.com

Is there anything wrong I am doing?

Additional info-
I am using thunderBird email client. I am using imap and not POP3. Options that i have already tried in php.ini are-

{smtp= smtp.googlemail.com
smtp_port= 25},
{smtp= imap.googlemail.com
smtp_port= 25}
but to no avail :(

Any help is appreciated!

I can install all versions of

I can install all versions of Drupal ( 6 and 7 ) on my server but when i want to install Drupal 8, i get an error on first step. Whats wrong with it?

I love Drupal CMS

HI Monil, Drupal 8 is in the

HI Monil, Drupal 8 is in the early stages of development, it's most likely that you have a very experimental version.

nobody click here