Install WordPress Locally on Windows 7 with Xampp

Before starting this tutorial, please make sure that XAMPP is installed on your windows machine, if you need any help, check this tutorial.

Download the latest version of wordpress from

Unzip the WordPress files and move to the “C:\xampp\htdocs” folder:

To start the MySQL command-line client, use this command:

mysql -u root -p

Create a wordpress database and granting all privileges to the wordpress user on that database:

GRANT ALL PRIVILEGES ON wordpress.* TO wpuser@localhost IDENTIFIED BY 'password';

Note: In this tutorial, wpuser will be used for wordpress.

Change the name of the config file from wp-config-sample.php to wp-config.php:

Edit the wp-config.php file using Notepad or WordPad and Insert your MySQL settings that you have just created:

Open up the browser and go to http://hostname/wp-admin/install.php to begin configuring WordPress:


Login to the admin section:

Enter the username and password, that you have configured during the installation:

Congratulations!  smiley

Hope this will help you!

Please Remember me in your prayers!

Enjoy :-)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: