+3 votes
172 views
Installing Drupal under Windows

in CMS by (551k points)
reopened | 172 views

1 Answer

+4 votes
Best answer

In recent years Drupal has become the most robust and versatile CMS we can use, it not only has a considerable number of modules that increase its functionality but also a hundred subjects to change its design and adapt to any need.

Installing Apache, MySQL and PHP

In order to install Drupal we need a web server, we will use Apache , the MySQL database and the PHP programming language, this is the combination that will allow us to install it. To have these 3 complements we will install XAMPP .

1- First we download the tablet of the latest version of XAMPP, we decompress it in C :.

2- Navigate to the C: xampp directory and double click on the xampp-control application to run the XAMPP control panel.


image


3- Once in the control panel of the application, press the start button next to Apache and MySQL. Now we open a browser and write in the address bar: http: // localhost and we should see the following:


image


4 - Finally, we go to the following route: http: //localhost/security/index.php and place the password for the MySQL admin.


image


5- Put the password as root and press the Password changing button and we should the following message: The root password was successfully changed. Please restart MYSQL for loading these changes!


Configuring PHP

To optimize our site and before installation with Drupal we must edit the php.ini file.

1- We go to the directory C: xamppphp and open the php.ini file with any text editor, it can be Sublime Text 2 or Notepad ++.

2- We look for the Resource Limits section and edit the following values ​​so that they remain this way:

max_executionw_time = 60;
max_input_time = 120;
memory_limit = 128M;
error_reporting = E_ALL & ~ E_NOTICE

Configuring MySQL

As with the PHP configuration, do the same with our MySQL instance and edit the my.ini file to optimize processes.

1- We go to the directory C: xamppmysqlbin and open the file my.ini and my.cnf

2- We look for the following adjustments and edit them so that they remain this way:

# * Fine Tuning
#
key_buffer = 16M
key_buffer_size = 32M
max_allowed_packet = 16M
thread_stack = 512K
thread_cache_size = 8
max_connections = 300

Creating the database for Drupal

Before installing Drupal we need to create an empty database, for this we write in our browser the following: http: // localhost / phpmyadmin / and we will see our database administrator:


image


The default phpMyAdmin page contains a form to create a database. We enter for example d7dev and press Create , we will see the following screen:


image


And with this last one we are ready to install Drupal

Installing Drupal

We download the version we want from Drupal, in this case we download version 7.

1- After downloading, we unzip it in the following directory: / xampp / htdocs

2- We rename it to d7dev and enter the browser and place the following http: // localhost / d7dev /


image


2- Select Standard Profile and press Save and continue

3- In the next screen we select the language of our preference and press Save and Continue.

4- Then we configure the database, we write d7dev that was the empty database that we created before, we put root as the user of the database and the password. We press Save and Continue.

5- In the following configuration screen, we enter the following values:
  • Site name: d7dev
  • Site e-mail address: a valid e-mail address
  • Username: admin
  • E-mail address: The same one that we use for the site
  • Password: A valid password
6- After this we press Save and Continue. We give you click where it says Visit your new site and with this we already have our Drupal site running in our environment.


image


by (3.5m points)
edited

Related questions

+4 votes
1 answer
asked Jun 24, 2019 in CMS by backtothefuture (551k points) | 240 views
+4 votes
1 answer
asked Jun 23, 2019 in CMS by backtothefuture (551k points) | 163 views
+4 votes
1 answer
+3 votes
1 answer
asked Nov 18, 2019 in Windows 10 by backtothefuture (551k points) | 213 views
+3 votes
1 answer
asked Sep 20, 2019 in Windows 10 by backtothefuture (551k points) | 247 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,632 questions
10,764 answers
510 comments
3 users