How to install and run drupal locally on your PC using Xampp

in #utopian-io6 years ago

What Will I Learn?
How to install XAMPP on your PC
How to install Drupal on XAMPP
Running Drupal on your locally PC
Requirements
Some of free time
Internet Connection
Difficulty
Basic
Preparation
In this tutorial you will learn how to install drupal on your PC using Xampp. First of all we have to install XAMPP.

XAMPP is a free and open source web server software, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages.

I will present now how to download and install xampp step by step. If you already have XAMPP software on your computer, skip this point.
xampp-logo.png

                                                                                 XAMPP Installation:

1 Go to the website: XAMPP (click here)
2 Click on the version that interests you
bh08rmtrhlpynkrqm9p0.png

Start downloading
u7uwtfqjgmzpg6uedl9n.png

Open XAMPP Installation, and follow my steps:
zkdl5qcb6dotof4hce3r.pnghvuts8mr3jtz9omc6ayw.pngigvjzphkavnrvvmg2lok.pngmoxa29uvbemitcoh0hah.pngmsaa1m3pogr71nof4hbg.pngpytxdtt9oq5ozpzpkct3.pnga5ledz2gc1647vsgovey.png

  • Choose your language, and click Save.
    zceuhvoerxwq5dmiemmn.png
    You will see a window like this:
    puiked52gdpwk12vigxg.png

Now is the time to start everything. Click the first three "start" buttons, and your window should now look like this:gpp2xluwmxeqhuwgngpc.png

We have already installed xampp. Now we can go to the installation of drupal on our computer.
Drupal Installation and running using XAMPP
drupal-logo-trans.png

Drupal is a content management system and framework written in PHP language, used by over one million websites.
After making sure that we clicked the "Start" buttons in XAMPP, enter the browser and enter the URL:
localhost/phpmyadmin
Should be the same page:prpzwprxuq8ranqiqiqo.png

Click on Database tab and enter in the text area: drupal
Then click on the "Create" button.
xcrtjsekn6fxwezuqrjo.png

Now we have to download drupal from their website.
We have to go to the site: https://www.drupal.org/project/drupal/releases/7.4

Then click "Download zip"
ywoloinkmrenjma6mrxb.png
After downloading, go to the xampp location, for example: C:\xampp , go to "htdocs" folder and extract the "drupal-7.4" folder there.
To make it easier, we change the name of the folder from "drupal-7.4" to "drupal"
Your htdocs folder should look similar (ie it should contain the "drupal" folder).ogyqegajoztdnvctnjy0.png
Now, go to: \xampp\htdocs\drupal\sites\default
and create a file called "settings" with the extension php
Copy the contents of the file "default.settings" (.php) and paste into the "settings" file (.php)
vwoxevb5dx1dyihq29zr.png
Now we go to the site: "localhost/drupal"
The page must look like this:
fgq0ttyn6oithnmet57x.png
We are now installing Drupal.
Do what I do in turn.
ntabt3lgjsbp8z7wfb1d.pngy7j3y4qzzainy2tdr13i.png

Now the error will probably pop up:msyjmae2fsw6yvyc7yaj.png

To fix it, we have to enter the "settings.php" file located in \xampp\htdocs\drupal\sites\default
and at the end we must add these 2 lines:
ini_set('mbstring.http_input', 'pass');
ini_set('mbstring.http_output', 'pass');

Now, after refreshing the page, you should see:kh50uoaepfkvsnkfumup.png
In the "Database name" text field, enter "drupal", enter "root" in the "Database username" field, leave the "Database password" field unchanged and click "Save and continue".
The installation process should appear
![uv8bjvidulpq7vfpyyko.png]
()
Then general information about the page should appear
ycldnqa4qvdkzkaymxtw.png

Fill them according to your preferences, and click
"Save and continue"

There should be a note:

otpjmz9v1hrmtljadip7.png
and when you go to the "localhost/drupal" page should appear:
fcerd3sxwzo3srmio1i6.png
Now you can manage your website.

Posted on Utopian.io - Rewarding Open Source Contributorsxampp-logo.png

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.033
BTC 64303.16
ETH 3137.29
USDT 1.00
SBD 3.97