Composer Install Drupal 11 on Windows 10/11

To install drupal 11 on Windows 10/11 or any other OS you must meet system requirements for Drupal 11 CMS. I tried installing Drupal 11 on my Windows 10 and I had to make sure that I meet the system requirement.

Drupal 11 System Requirements

  1. php 8.3 and above
  2. MariaDB 11.x
  3. php ext gd
  4. php ext openssl
  5. php ext pdo_mysql
  6. memory_limit to 256M
  7. composer

Install PHP 8.3

To install php 8.3 on Windows 10, head to windows.php.net/download

Install Composer

To install composer on Windows 10/11, head to getcomposer.org

Install MariaDB 11

To isntall MariaDB 11 on Windows 10/11, head to mariadb’s download page

Install Drupal 11 with Composer

To install Drupal with composer, run the following commands.

composer create-project drupal/recommended-project drupal11

Run the following command to run the drupal installation script

cd web && php -S localhost:8888 .ht.router.php