Installing Drupal 8

Chapter 3 of the Drupal 8 User Guide covers server requirements, additional tools, preparing for installation, and running the installation script. Chapter 4 covers the next steps that should be done after the installation script has completed.

This guide covers much of the same material. These pages cover more options than the User Guide, with somewhat less detailed instructions. When information is available in other developer guides, we link to them rather than repeat it here.

Before installation

You need a web server with a database and PHP. The server could be your personal computer.

Step 1: Get the Code

Install the files you need to run Drupal.

Step 2: Install dependencies with composer

If you installed or updated the codebase using git, then install required PHP libraries with composer.

Step 3: Create a database

Create a database for Drupal to use.

Step 4: Configure your installation

Set up the web server and PHP to work together.

Step 5: Run the installer

Run the installation script.

Step 6: Status check

Check the status of your site at Administration > Reports > Status report. Set trusted hosts patterns, create files directories.

Guide maintainers