The objective of this guide is to show web developers how to install Wordpress  (2.8 or newer) locally on their computer in order to be able to design and test Wordpress Themes. Wordpress needs the computer you are installing it on to have a web server (like Apache, Litespeed, or IIS), PHP 4.3 or higher, and MySQL 4.0 or higher.
XAMPP  is an easy to install web server environment, which has all of the above mentioned components. All of the following instructions are based on the assumption that you have an installation of XAMPP running locally on your machine. This tutorial does not detail the installation of XAMPP. For more information on XAMPP, see the official XAMPP website (http://www.apachefriends.org/en/xampp.html)
Step 1. Download and save the latest version of Wordpress by following this link:
Step 2. Unzip the ZIP file called "wordpress.zip", which was downloaded in step 1, into the htdocs folder in the XAMPP directory
If the ZIP file was extracted correctly there should be a new directory called "wordpress" inside the \ xampp \ htdocs directory. Before continuing with the installation, please check that the web server environment is working properly.
Step 3. Go to the main page of XAMPP by opening a browser and entering the following address:
localhost / xampp /.
Step 4. Select the link called "phpMyAdmin" at the bottom left of the menu or enter the following address:
localhost / xampp / phpmyadmin.
Step 5. In the main page of phpMyAdmin, there will be an area in the middle of the screen called "MySQL localhost"
From this section a new database will be created to be used with the installation of Wordpress.
- In the field labeled "Create New Database", enter the name "Wordpress". From the drop-down menu labeled "Collation" select "utf8_unicode_ci". Then press the "Create" button.
- If the database has been created successfully, the message "The wordpress database has been created" should be displayed.
Step 6. Using Windows Explorer navigate to the xampp \ htdocs \ wordpress directory
Open the file called "" wp-config-sample.php "inside the wordpress directory.
Step 7. Once the file has been opened edit the following lines:
/ ** The name of your database for Wordpress * / define ('DB_NAME', 'putyourdbnamehere'); ==> change 'putyourdbnameheree' to 'wordpress' / ** MySQL database username * / define ('DB_USER', 'usernamehere'); ==> change 'usernamehere' to 'root' / ** MYSQL database password * / define ('DB_PASSWORD', 'yourpasswordhere'); ==> change 'yourpasswordhere' to '' (leave blank).
Step 8. When the file has been modified as indicated in the previous step, save a copy of this file under the name "wp-config.php" in the wordpress directory and close the file
Step 9. Go to the Wordpress installation page by opening a web browser and entering the following address:
Step 10. Enter a title for the blog in the field labeled "Site Title"
Enter an email address in the field labeled "Your email address". Then press the button called "Install Wordpress".
Step 11. If the information for the next step has been entered correctly there should be a new screen called "What a success
This screen shows a user called "admin" and a temporary password. This is a randomly generated password, so it is important to write it down until a new password is selected. Press the button labeled “Connect”.
Step 12. On the login screen, type the word “Admin” in the field labeled “Login” and enter your temporary password, the one created in the previous step, in the field labeled “Password "
Press the button labeled "Connect".
Step 13. If the connection was successful, the Wordpress administration interface will appear
A message is displayed to inform that an automatically generated password is in use, and that it would be better to change it to one that is easier to remember. The "Yes, take me to my profile" link allows you to change the temporary password. Once the password has been changed, content and theme modification can begin.