Friday, July 23, 2021

Drupal 9 installation on windows localhost xammp

 Using Composer to Install Drupal and Manage Dependencies



Step 1 :- Create a project

Before create the project:-

Start xammp and Click-here make database.

For Drupal 8 and Drupal 9 :

composer create-project drupal/recommended-project  folder_name(drupal9)

                                        OR

composer create-project  drupal/recommended-project:^9.2

                   OR

composer create-project drupal/recommended-project:^9

For Drupal 7 :

composer create-project drupal-composer/drupal-project:7.x-dev -n folder_name 

Step2:- Goto brewer and hit the link like:- http://localhost/drupal9/web/

Step3:- If you get warning see screen shot

1) Goto xammp+config+php.ini file open and find the opcache



2) Copy the code and past your php.ini file

[opcache]
zend_extension = "C:\xampp\php\ext\php_opcache.dll"

3) Restart your xaamp and Enjoy :)








No comments:

Post a Comment

If you have any problem please let me know.