Simplified in Drupal 8.8.0
Note: If you started your project using Drupal version 8.8.0 or later, your site already uses the correct file structure and is Composer-ready.
The quick-start command is new as of Drupal 8.6.x. It is not intended for production use. However, it provides a fast way to install and run Drupal using PHP’s built-in web server on your local machine.
Important: The quick-start command is designed only for launching a local demo version of Drupal. If you need to install Drupal 8 for production, refer to the rest of this guide for the proper instructions.
Step 1 - Install PHP
MacOS
MacOS 10.13 (High Sierra) and later come with PHP 7 pre-installed. No additional setup is needed.
Before You Begin
When updating your Drupal 8 site, there are several options to choose from. If you're not yet familiar with these methods, it's recommended to start with this introductory documentation. It provides a helpful summary of all the available update options to make the process easier and more enjoyable.
Before You Begin
Updating a Drupal site means applying a minor version change, such as from "8.4.4" to "8.4.5". This guide covers how to update your Drupal 8 site.
Upgrading a Drupal site means changing the major version, such as from Drupal 6 to 8 or from Drupal 7 to 8.
Updating Drupal 8 Core
The table below lists various options for updating Drupal core. If you're unsure which method best suits your needs, refer to the "Recommendation" column.
Before You Begin
If you haven't already, it's recommended to read this overview, which outlines all available methods for updating Drupal 8.
PS: This update procedure is also covered in the Drupal User Guide.
This documentation is outdated. Help make it current.
Before You Begin
It is recommended to use Composer for managing Drupal dependencies; see Updating Drupal Core with Composer for more. Drush 9 and later no longer support updating Drupal core—this is now Composer's role. However, you can still use Drush 8 (version 8.1.14 or later) to update Drupal 8 if you're familiar with that workflow.
This documentation is incomplete. Add more information.
Since the recommended method for installing and updating a Drupal 8 site is via Composer, this page also describes how to update modules using Composer. And because you're using the command line, we also use Drush for some tasks.
Before troubleshooting database update issues, always back up your database and codebase.
If there are problems preventing safe execution of database updates, update.php will display an error.
Read the error message carefully to determine the issue.
Invalid Modules or Themes
Sometimes, update.php may report invalid modules or themes. This happens when a module or theme is listed in core.extension.yml but is missing or incompatible with the site.