1. First download the .exe version of XAMPP.
2. Place the .exe file in a folder of your choice (I put mine in C:).
3. Double click the .exe file you just downloaded. A box will pop up asking you where you want to install it. Type C: (If it’s not already populated) and hit Extract.
4. Navigate to the install folder (C:) and double click the file named xampp-control.exe.
5. Start the MySQL and Apache servers in the control panel window (See below.)
6. Now you should be able to go to http://localhost/ in your web browser.
7. Click the phpMyAdmin link in the left-hand column.
8. In the Create New Database box enter the words wordpress
9. In the MySQL Connection Collation box below select utf8_unicode_ci
10. Click Create and your database is all setup.
11. If you haven’t downloaded WordPress, please do so.
12. Unzip the folder and install it into the htdocs folder of your new directory. If you installed Xampp on your c drive then you would place the unzipped WordPress folder in c:xampplitehtdocs
13. Inside the htdocs folder, open the file named wp-config-sample.php in Notepad (best to use Notepad++)
14. Look for the code below. Change the values so your code matches what is below. Don’t copy and paste. Just enter the values because your file may have more data. You don’t want to accidentally overwrite anything.
define(‘DB_NAME’, ‘wordpress‘); // The name of the database
define(’DB_USER’, ‘root’); // Your MySQL username
define(’DB_PASSWORD’, ”); // …and password (Leave empty!)
The only thing you should need to change is the word wordpress for the database name. There may be a few extra lines in your file. You shouldn’t need to bother with this data.
15. Rename the file to wp-config.php and save it.
16. Point your browser to…
http://localhost/wordpress/wp-admin/install.php to install WordPress on your PC.
17. To view your blog’s local homepage simply go to…
Now you can test your customized themes, plugins, anything you want. This is the best way for developers.