After reading this article, you will be able to install WordPress on your Windows system.
Installing Wordpress on the local system helps out testing different themes, plugins without going live. If you try such changes in live, Wordpress is prone to crash.
Another benefit is, you can test run the posts locally and then make them live to make sure about the correctness. If you are a developer then you can develop plugins for wordpress by playing around with WordPress code.
Step1 :
Installing XAMPP (A package of Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin )
XAMPP is a way to install Apache Distribution for Linux, Solaris, Windows and Mac OS X. The package includes the Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin.
You can download XAMPP Lite hereat apachefriends.org.
After downloading and double-clicking on this file it will display a screen that asks you what folder you want to extract XAMPP to. Extract it to the root of C:\ drive on your PC. You can certainly extract it to the root of your secondary hard drive as well.
One suggestion: Uncheck the option to install apache and MySQL as windows services.
If you double-click on the shortcut icon of XAMPP, It will open a window in the lower-right hand corner of your screen that will allow you to start the Apache web server software and the MySql database software.


XAMPP Control Panel with Apache and MySql running.
Start your web browser, Browse to http://localhost/xampp.

Step2:
Installing database for WordPress
You should see a setup page that will guide you through setting up the database for your WordPress install.

- Select your language – English in this case.
- Click on menu selection phpMyAdmin
- Under “Create new database”, enter “wordpress” as a name of database in MySQL.
- Select utf8_unicode_ci for the collation.
- Click on the “Create” button. Your database will be created and a success message will get displayed.

Step3:
Installing database for WordPress
Once you’ve got your database setup, you can download WordPress here. Unzip the contents to the C:\xampplite\htdocs folder.
Open the file C:\xampplite\htdocs\wordpress\wp-config-sample.php in a text editor and change the following:
These are the exact details you need for Xampp to work because the default user in phpmyadmin is called ‘root’ and there is no password.
- define(’DB_NAME’, ‘wordpress’); // The name of the database
- define(’DB_USER’, ‘root’); // Your MySQL username
- define(’DB_PASSWORD’, ”); // …and password
- define(’DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
- Copy those details into your wp-config file, and save it as wp-config.php
Close and save this file as wp-config.php
Browse to http://localhost/wordpress/wp-admin/install.php,
You should see a WordPress install screen like this.

Type in a blog title and provide your email address and click “Install WordPress”. The next screen will display login and password. Write this information down and click on “log in”.
After logging in you’ll be at your “Dashboard”. Click on “View site” next to the title of your blog for a quick, default view of your blog. With the default install of WordPress comes two themes – WordPress and WordPress Classic. Both located under the “Presentation” menu.
Note:
You do not need to use the inbuilt editor to change any WordPress files. Just open them directly in any text editor, make changes and then save.


