WordPress and XAMPP on your Windows Computer.
A while back I wrote a tutorial describing how to install and configure MAMP for the Mac computer in order to run WordPress on your computer. This is a great way to develop your website or blog. It allows you to try things out and get your website configured perfectly without running the risk of experimenting on your actual site. Recently I received an email through the Contact page and the reader asked if there was a way to do the same thing on Windows. Windows? As a matter of fact there is. It’s a similar application called XAMPP.
If you need the Mac tutorial, you can find it here: How To Install WordPress on Your Computer Using MAMP
What is XAMPP?
The X in XAMPP represents four different Operating Systems. Windows, Mac, Linux and Solaris. Yes that’s right, it works on all four of them. So the actual acronym goes like this:
X = four different Operating Systems
A = Apache
M = MySQL
P = PHP
P = Perl
With all the functions and scripting languages that today’s websites use, especially WordPress, this application gives you everything bundled together in one neat little package. Cool huh? So without further ado, here we go.
To begin, go to the website and download the software. This link will take you directly to the Windows download. The easiest way is to get the “Installer” version. This will make installing it much much easier for you.
Once you have the downloaded installer, go ahead and double click on it to get things started. If your computer has UAC (User Account Control) activated you may see this little window popup.
Go ahead and click OK and exit out of the installation. For now, the simplest thing to do is to deactivate UAC. You can do this by navigating to Control Panel->User Accounts and Family Safety->User Accounts->Change User Account Control Settings. Simply slide the slider all the way to the bottom. If you already have UAC deactivated, then you will see a different message stating that your system is good to go.
Now, go back and start the installer again. It’s perfectly fine to accept all the default settings that are presented to you and simply clicking ‘Next’ all the way through the process will give you a successful installation. After everything is finished you should see the following message. Go ahead and click ‘Yes’ to start the Control Panel.
This is what the Control Panel looks like.
For WordPress you will need MySQL and Apache. Click the ‘Start’ button next to each one to get them running. You’ll notice that they become highlighted green and the ports they are running on are displayed in the column to the right. That’s it. You my friend are up and running. On to the next step!
You’ll need to create a database for WordPress before you install it. Simply click on the ‘Admin’ button for MySQL in the XAMPP Control Panel. Your web browser will open and you should see this screen.
Clicking on the ‘Databases’ tab when you are in phpMyAdmin screen will bring to the following screen where you can enter your database name and click ‘Create’. For this tutorial I chose ‘testsite’.
First you will need to download WordPress. You can get the latest version from their website.
Once you have completed this, open up your web browser and type the following in the address bar.
Now you should be on familiar ground. Go ahead and click the “Create Configuration File”. Enter in the following information when you are prompted for it.
Lastly, enter a blog name and an email address. That completes the installation. You now have a local WordPress installation that can be your personal playground and the great thing about it, is if you screw something up, simply delete the ‘wordpress’ folder and extract it again from the .ZIP file. Ta da!! Brand new WordPress.
[box type=”info”] http://www.apachefriends.org/en/xampp-windows.html#641[/box]
You should receive a confirmation that the database was created successfully. That should do it. Almost finished!
Once you have it, place the .ZIP file in the following directory. “C:\xampp\htdocs\”
Now extract it using WinZip, 7Zip or another similar application. Personally I use WinRAR and use the “Extract Here” function. Once you have it extracted, you should have a folder labeled ‘wordpress’.
http://localhost/wordpress
This should take you straight to the WordPress configuration screen below.
database name = whatever name you created in Step #8
database user = root
password = <none>
database host/server = localhost
If you found this article useful give it a +1 and share it with your friends!
thanks for the directions. i haven’t heard of XAMPP before. another option that might help some people is to just get wordpress hosting. i setup mine over the Motherlessgoat.com and it setup wordpress immediately to my domain.