Install WordPress on Windows using xampp

First , Install XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl. Just download and start the installer.

Check and download the required version.

https://www.apachefriends.org/download.html#641

Once the download finishes, run the file you downloaded to launch the XAMPP installer. If you’re running antivirus software, you might get a warning like this:

clip_image001

Just click Yes to continue. Depending on your Windows configuration, you might also get a prompt about User Account Control (UAC). Just continue through that prompt as well. Once you get through all of the prompts, you should see the standard installer screen:

clip_image002

Just click Next to continue.

On the next screen, you can choose which components to install. To install XAMPP and WordPress, you do not need all of the components. In addition to the required components, all you need are:

Shop now
  • MySQL
  • PHPMyAdmin
clip_image003

Uncheck everything else and click Next.

You can now select which folder to install XAMPP in. I always leave it as the default:

clip_image004

On the next screen, you’ll get a prompt asking you to install Bitnami for XAMPP. You do not need this to install XAMPP and WordPress, so just uncheck the box:

clip_image005

Once you click Next, you’re ready to run the install:

clip_image006

The install process might take a few minutes:

clip_image007

Once it finishes, you can launch the control panel to start working with XAMPP:

clip_image008

Step 2: Start the modules and test your server

To install XAMPP and WordPress properly, you’ll need to run two modules:

  • Apache
  • MySQL

You can start both modules from the XAMPP control panel:

clip_image009

Once you launch them, you should see their status turn to green:

clip_image010

And now you should be able to test that your local server is working by going to http://localhost/ in your web browser of choice:

clip_image011

Add the WordPress files

If you’ve ever manually installed WordPress

Buy Books. Do Good. Support Local Charities

First, you need to go to wordpress.org and download the latest version of WordPress.

clip_image012

Then, in Windows, navigate to the folder where you installed XAMPP. For me, that’s C:/xampp. It should be something similar for you. Then, in that folder, find the htdocs subfolder:

clip_image013

Once you create the folder, extract the WordPress .zip file you downloaded from wordpress.org into it:

clip_image014

Create a database for WordPress

THICK Body Wash 728x90

Next, you need to create a MySQL database for your WordPress install.

clip_image015

Open the MySQL 5.5. Command Line Client

Enter password:

# CREATE DATABASE wordpress;

# CREATE USER wordpress@localhost;

# GRANT ALL PRIVILEGES ON wordpress.* TO ‘wordpress@’localhost’ IDENTIFIED BY ‘Password’;

Query OK, 0 rows affected (0.00 sec)

# FLUSH PRIVILEGES;

Open wp-config.php and fill the correct the database details as :-

………………………………………………………………………………..

[…]

// ** MySQL settings – You can get this info from your web host ** //

/** The name of the database for WordPress */

define(‘DB_NAME’, ‘wordpress’);

/** MySQL database username */

define(‘DB_USER’, ‘wordpress’);

/** MySQL database password */

define(‘DB_PASSWORD’, ‘Password’);

/** MySQL hostname */

define(‘DB_HOST’, ‘localhost’);

[…]

Buy The Medium for PC at Green Man Gaming

…………………………………………………………………………………………

Now , launch the web WordPress by http://localhost/wp-admin/install.php

clip_image016
clip_image017
clip_image018

After that you need to enter a username, password, and an email address for your admin account.

clip_image019

You can login to your website by going to /localhost/website1/wp-adminpage and use the username / password that you entered during installation to login.

clip_image020
Click to rate this post!
[Total: 1 Average: 5]

Share and Enjoy !

Shares
Get Weekly KBV Tips !

Learn and improve day to day Knowledge & lifestyles.