Installing Drupal on Windows

  1. Download XAMPP Download
  2. Download Drupal Download
  3. Install Microsoft Visual C++
  4. Right click the downloaded XAMPP file > Extract All...
  5. Right click the downloaded Drupal .zip file > Extract All...
  6. Rename the extracte Drupal folder drupal
  7. Cut the drupal folder inside the XAMPP/htdocs directory
  8. Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
  9. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
  10. Run XAMPP/xampp-control.exe
  11. Click the Start button next to Apache and MySQL
  12. Navigate to XAMPP/mysql/bin
  13. Hold the SHIFT key and right click in the white space > Open PowerShell windows here...
  14. Type the following in the PowerShell window to setup the Drupal database
    ./mysql -u root
    CREATE DATABASE drupal DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
    GRANT ALL ON drupal.* TO 'drupal_rw'@'localhost' IDENTIFIED BY 'Dru4@l!!';
    FLUSH PRIVILEGES;
    EXIT;
    exit
  15. Open a web browser and navigate to http://DNSorIP/drupal
  16. Select a language > Click Save and continue
  17. Select the Standard profile > Click Save and continue
  18. Enter the database name, username and password > Click Save and continue
  19. Create a site title and Drupal login > Click Install Drupal
  20. When the installation completes, enter a site name, email address, username and password > Click Save and continue
  21. Welcome to your very own, self-hosted Drupal installation