Skip to content
MAMP Documentation

Install Drupal

  1. Download Drupal from drupal.org/download. The zip file will be saved to your ~/Downloads folder.

  2. Unzip drupal-x.x.x.zip. This creates a ~/Downloads/drupal-x.x.x folder.

  3. Move the contents of that folder to /Applications/MAMP/htdocs. If asked whether to overwrite the existing index.php, click Replace.

    MAMP - Move files and replace index.php

  4. In MAMP, click WebStart in the toolbar, then open phpMyAdmin from the tools menu.

  5. Create a new database named drupal.

    MAMP - phpMyAdmin - New Drupal database

    The message “No tables found in database.” is expected – Drupal creates its tables automatically during installation.

    MAMP - phpMyAdmin - No tables found

  6. In MAMP, click WebStart, then click My Website. The Drupal installation wizard opens automatically.

  7. Choose your language.

    MAMP - Drupal installation - Choose language

  8. Select an installation profile.

    MAMP - Drupal installation - Select profile

  9. Enter the database details:

    FieldValue
    Database typeMySQL, MariaDB, Percona Server, or equivalent
    Database Namedrupal
    Usernameroot
    Passwordroot
    Hostlocalhost
    Port3306 or 8889

    MAMP - Drupal installation - Database configuration

  10. Wait for Drupal to install.

    MAMP - Drupal installation - Installing

  11. Complete the site configuration.

    MAMP - Drupal installation - Configure site