Submitted by admin on
Dupal7
 

@Drupal installation windows 

Two ways to download/install drupal in windows.

 

1.Install Drupal using the standard web interface(browser)

 

                                       Step1 

First install composer on your machine. 

                                     Step2

 

                                                                                  Recommended

composer create-project drupal/recommended-project your-project-name



 

this will create a project in 'your-project-name' and automatically executes composer install to download the latest stable version of Drupal and all its dependencies.

 

Created a sites/default/settings.php file with chmod 0666

Created a sites/default/files directory with chmod 0777

 

                                                                                         deprecated

composer create-project drupal-composer/drupal-project:8.x-dev drupal8 --prefer-dist    --no-progress --no-interaction

 

composer create-project drupal-composer/drupal-project

 

composer create-project drupal/drupal

 

Note:

recommend composer template changed from drupal-composer/drupal-project to drupal/recommended-project(the officially supported)

                Templates

drupal/recommended-project(recommended)

 

drupal-composer/drupal-project(deprecated)

 

drupal/drupal (deprecated)

                                                                            Step3

 

Select an installation profile

 

 

error:PHP OPCODE CACHING

 

                                           Step4

open php.ini file and so some changes as below

Right configuration example

[php]

engine = On

zend_extension=php_opcache.dll

 

WRONG configuration example

[opcache]

zend_extension=php_opcache.dll



 

                                           Step5 

complete the installation Using drupal/recommended-project template by using browser






 

Next steps:

  * Install the site: https://www.drupal.org/docs/8/install

  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html

  * Get support: https://www.drupal.org/support

  * Get involved with the Drupal community:

      https://www.drupal.org/getting-involved

  * Remove the plugin that prints this message:

      composer remove drupal/core-project-message

  * Homepage: https://www.drupal.org/project/drupal

  * Support:

    * docs: https://www.drupal.org/docs/user_guide/en/index.html

    * chat: https://www.drupal.org/node/314178




 

PHP OPCODE CACHING

Not enabled



 

zend_extension=php_opcache.dll



 

2.Install Drupal using the command line

we can use either Drush or Drupal console to install Drupal from the command line.

By using Drush

 

                                      Step1 

Add Drush in your project globally or locally by running: 

Locally:

composer require drush/drush. 

Globally:

composer global require drush/drush

                                     Step2

drush site:install

 

This will  download and install  your project automatically.

                                                            

 
Dupal9