Search for install

  1. Search 7.x for install
  2. Search 9.5.x for install
  3. Search 8.9.x for install
  4. Search 11.x for install
  5. Other projects
Title Object type File name Summary
install.inc file core/includes/install.inc API functions for installing modules and themes.
INSTALL.mysql.txt file core/INSTALL.mysql.txt CREATE THE MySQL DATABASE
--------------------------

This step is only necessary if you don't already have a database set up (e.g.,
by your host). In the following examples, 'username' is an example MySQL user
which has the CREATE and…
INSTALL.pgsql.txt file core/INSTALL.pgsql.txt CREATE THE PostgreSQL DATABASE
------------------------------

Note that the database must be created with UTF-8 (Unicode) encoding.

1. CREATE DATABASE USER

This step is only necessary if you don't already have a user set up (e.g., by
install.php file core/install.php Initiates a browser-based installation of Drupal.
INSTALL.sqlite.txt file core/INSTALL.sqlite.txt SQLITE REQUIREMENTS
-------------------

PHP's PDO SQLite driver must be enabled. If you do not have pdo_sqlite
available, depending on your system there are different ways to install it.

Windows
-------
Read more about it on…
INSTALL.txt file core/INSTALL.txt CONTENTS OF THIS FILE
---------------------

* Quickstart
* Requirements and notes
* Optional server requirements
* Installation
* Reinstall
* Building and customizing your site
* Multisite configuration
* Multilingual…
INSTALL.txt file ./INSTALL.txt Read core/INSTALL.txt for detailed installation instructions for your Drupal
website.
InstallCommand class core/lib/Drupal/Core/Command/InstallCommand.php Installs a Drupal site for local testing/development.
InstallCommand.php file core/lib/Drupal/Core/Command/InstallCommand.php
InstallCommand::$classLoader property core/lib/Drupal/Core/Command/InstallCommand.php The class loader.
InstallCommand::configure function core/lib/Drupal/Core/Command/InstallCommand.php
InstallCommand::execute function core/lib/Drupal/Core/Command/InstallCommand.php
InstallCommand::getProfiles function core/lib/Drupal/Core/Command/InstallCommand.php Gets a list of profiles.
InstallCommand::getSitePath function core/lib/Drupal/Core/Command/InstallCommand.php Gets the site path.
InstallCommand::install function core/lib/Drupal/Core/Command/InstallCommand.php Installs Drupal with specified installation profile.
InstallCommand::isDrupalInstalled function core/lib/Drupal/Core/Command/InstallCommand.php Returns whether there is already an existing Drupal installation.
InstallCommand::selectProfile function core/lib/Drupal/Core/Command/InstallCommand.php Selects the install profile to use.
InstallCommand::validateProfile function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided install profile.
InstallCommand::validateRecipe function core/lib/Drupal/Core/Command/InstallCommand.php Validates a user provided recipe.
InstallCommand::__construct function core/lib/Drupal/Core/Command/InstallCommand.php Constructs a new InstallCommand command.
InstallConfigurator class core/lib/Drupal/Core/Recipe/InstallConfigurator.php @internal
This API is experimental.
InstallConfigurator.php file core/lib/Drupal/Core/Recipe/InstallConfigurator.php
InstallConfigurator::$modules property core/lib/Drupal/Core/Recipe/InstallConfigurator.php The list of modules to install.
InstallConfigurator::$themes property core/lib/Drupal/Core/Recipe/InstallConfigurator.php The list of themes to install.
InstallConfigurator::__construct function core/lib/Drupal/Core/Recipe/InstallConfigurator.php
InstallConfiguratorTest class core/tests/Drupal/KernelTests/Core/Recipe/InstallConfiguratorTest.php @covers \Drupal\Core\Recipe\InstallConfigurator[[api-linebreak]]
@group Recipe
InstallConfiguratorTest.php file core/tests/Drupal/KernelTests/Core/Recipe/InstallConfiguratorTest.php
InstallConfiguratorTest::testDependenciesAreAutomaticallyIncluded function core/tests/Drupal/KernelTests/Core/Recipe/InstallConfiguratorTest.php
InstallerAccessPolicy class core/lib/Drupal/Core/Installer/InstallerAccessPolicy.php Grants user 1 an all access pass during install.
InstallerAccessPolicy.php file core/lib/Drupal/Core/Installer/InstallerAccessPolicy.php
InstallerAccessPolicy::calculatePermissions function core/lib/Drupal/Core/Installer/InstallerAccessPolicy.php Calculates the permissions for an account within a given scope.
InstallerAccessPolicy::getPersistentCacheContexts function core/lib/Drupal/Core/Installer/InstallerAccessPolicy.php Gets the persistent cache contexts.
InstallerBrokenDatabaseCredentialsTest class core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php Tests the installer with incorrect connection info in settings.php.
InstallerBrokenDatabaseCredentialsTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php
InstallerBrokenDatabaseCredentialsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php The theme to install as the default for testing.
InstallerBrokenDatabaseCredentialsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php Prepares the current environment for running the test.
InstallerBrokenDatabaseCredentialsTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php Installer step: Configure settings.
InstallerBrokenDatabaseCredentialsTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php Final installer step: Configure site.
InstallerBrokenDatabaseCredentialsTest::testRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabaseCredentialsTest.php Tests the expected requirements problem.
InstallerBrokenDatabasePortSettingsTest class core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php Tests the installer with incorrect connection info in settings.php.
InstallerBrokenDatabasePortSettingsTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php
InstallerBrokenDatabasePortSettingsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php The theme to install as the default for testing.
InstallerBrokenDatabasePortSettingsTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php Prepares the current environment for running the test.
InstallerBrokenDatabasePortSettingsTest::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php Installer step: Configure settings.
InstallerBrokenDatabasePortSettingsTest::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php Final installer step: Configure site.
InstallerBrokenDatabasePortSettingsTest::testRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerBrokenDatabasePortSettingsTest.php Tests the expected requirements problem.
InstallerConfigDirectorySetNoDirectoryErrorTest class core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Tests installation when a config_sync_directory is set up but does not exist.
InstallerConfigDirectorySetNoDirectoryErrorTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
InstallerConfigDirectorySetNoDirectoryErrorTest::$configDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php The directory where the sync directory should be created during install.
InstallerConfigDirectorySetNoDirectoryErrorTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php The theme to install as the default for testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.