wordpress-logo-feature-image

Installing WordPress, XAMPP On Your Computer

WordPress And XAMPP – A Perfect Match

If you have ever felt the urge to try building a website or blog or just wanted to test your abilities without any added costs like wp-logoa domain name and hosting services involved, then WordPress and XAMPP is the place to start.

XAMPP

xampp-logoThe name is a shortened form of a combination of words and symbols.  “X” = Cross-platform, “A” = Apache server. “M” = Maria Database “P” = PHP and “P” = Pearl. The combination of programs will work as a server, not on the web but on your computer. Don’t worry about the breakdown of the name. It is not the purpose of this article. We will use it to install XAMPP and then WordPress on your computer. If we have a way to mimic a hosting service on your computer, we can start building websites. On top of all that everything you need is completely free.

As I mentioned, we don’t really need to know how it works but if you do want to know the complete breakdown the best place to start is the XAMPP website.

Installing XAMPP

The first thing we need to do is download a copy of XAMPP.  Once we do that, we install a hard drive. The program will install all necessary folders and files, so you don’t have to worry about a thing.apache-download-screen

To download the XAMPP installer go to the Apache site. and download the latest version of XAMPP. Choose the version for your Operating System (in our case, Windows).  Click on the bottom link to download the version 8.0 installer program.

Bitnami

Bitnami is the actual installer that will install XAMPP and all the subcomponents. It allows us to perform an installation with one click. It can install WordPress, but we will be using a different method for this tutorial. If you wish to know more about Bitnami, visit  What is Bitnami?

XAMPP And WordPress Step-By-Step Installation

At this point, I am assuming that you have already downloaded the XAMPP installer and are ready to go.

  1. Run the installer program.
  2. If you receive a notification that an Antivirus has been detected, you may ignore it and try installing or temporally disable the firewall and any other live protection, then install.antivirus-notice
  3. Click OK on the first UAC Notification.usc-warning
  4. Click Yes on the UAC Screen. I do not recommend deactivating UAC at any time.uac-approval
  5. When the Bitnami installer opens, click on “Next”.bitnami-welcome-screen
  6. When completing the XAMMP setup you may keep the checkbox clicked to open XAMPP right now. start-control-panel
  7. On the next screen, we will only check Apache, MySQL, PHPMyAdmin, and PHP. Leave the rest unchecked and click “Next”.component-selection
  8. Ensure you install it in your root drive as shown. installation-folder
  9. Uncheck the box “Learn more about Bitnami for XAMPP.” We will install WordPress later. Click “Next”.
  10. Click “Finish” to open XAMPP.
  11. The only Modules we will activate are Apache and MySQL. Click on Start for each one. start-modulesIf you see a Windows Security Alert or an alert from your Antivirus, click “Allow Access”.  After allowing access the module name will turn green.allow-access
  12. Open the Config tab and
    1. Indicate which editor you wish to use. Note: This should be something like exe which is in the C:\Windows folder. Or download Notepad++. Do not use Word, WordPad, etc. xampp-config
    2. Enter the browser you want to use or leave it blank for the default browser.
    3. Check the Apache and MySQL modules to AutoStart them in the future.
  13. Open your selected browser.
  14. Click on this WordPress.org. link or enter it into your browser. Note: Do not go to WordPress.com as there are no downloads there.
  15. Scroll down until you see the download. Click to download WordPress. The download may take a while.wordpress-download
  16. Extract the contents of the file. If you select the download folder to extract the files, you will see a folder with a zipper and one as an open folder. Or see Option 2 marked below. *folders
  17. Open the XAMPP folder in your root drive. You will see a list of folders but the only one we care about now is the htdocs folder.save-wordpress-to-htdocs Drag and drop your extracted WordPress folder into this folder. Option 2* would be to extract the WordPress.zip file to the htdocs folder. Either way, you will have a new folder in the htdocs folder called WordPress (plus version #). Rename this folder to something that is meaningful to you. “mywordpress”, or the name of your proposed website. Whatever you name it, remember that name for the next step.
  18. Type localhost in the address bar. This will open the XAMPP dashboard and give you access to phpMyAdmin which is in the upper right-hand corner. The image below is actually three partial images, the top portion is how your browser window will look. Once you click on phpMyAdmin, the middle windows will appear. After clicking on the Databases button, a window will appear in which you may enter your database name. creating-a-database
  19. Click on phpMyAdmin Number  (1).
  20. Click on Databases Number  (2).
  21. Enter the name you selected; in my case, it was “desertsky” Number  (3).
  22. Click on Create Number  (4).
  23. In your browser address bar, enter localhost/ (your chosen name) i.e. “localhost/desertsky”.
  24. WordPress will recognize that this is the first time you have entered this database and present you with a set of screens that will create the WP-admin file that is in your Database folder.  The first one is just a welcome screen.
    1. Enter your chosen language or click Continue for English
    2. For the requirements listed enter this information.ninfo-for-wp-config.php-file.
    3. For your database name, it must be the same as you entered previously.wp-confit-edit
    4. Enter “root” for username.
    5. Leave password blank.
    6. Press Enter.
    7. Once you receive the “alright sparky” notice you are good to go.sparky
    8. The newly created WP-admin file will open giving you a chance to enter additional information.
    9. Enter your site title which can be the same as your database name.
    10. For now, keep root as your username.
    11. Enter a password. If your plan is to eventually publish this website, enter a strong password.
    12. Confirm the weak password if one was entered.
    13. Enter your Email.
    14. Click on Install WordPress.
    15. Use your new sign-in credentials to sign in to your new database. Click “Log In”.wordpress-signin

Congratulations! You have installed WordPress into a XAMPP server on your computer. Nothing you enter will reach the web. It is all contained on your hard drive. I’m sure at this point you are asking yourself, “what do I do now?”

Good question but it will have to wait until part two of this tutorial. In part two, we will be covering the basics of the WordPress Dashboard and what each menu item means. We will be covering plugins and themes. Without a doubt, looking at it right now can be overwhelming.

It is important to remember that plugins are just programs that contain functions that can be added to WordPress.

Summary

I have been building HTML5 websites for a while. With the growth of WordPress, I thought I would just start creating WordPress websites as an extension of that knowledge but in truth, they are very different animals. I initially had problems understanding the overall concept of putting the information together and then laying it out. There are a lot of free templates, but they seldom capture your idea of what a site should be. Paid templates can get you closer but can be expensive.  I wanted a simple way of understanding WordPress and hoped that I could create websites in a couple of days. I did my homework and found that you can. I will be showing you in one article what took me months to find. If you have the data available: photos, articles, colors, and fonts you want to include in your site, it really can go by fast. As a matter of fact, having the information to fill your site will take you much longer than creating the site.

Scroll to Top

WHY NOT SUBSCRIBE TO OUR NEWSLETTER?

Get great content like this delivered to your inbox!

It's free, convenient, and delivered right to your inbox! We do not spam and we will not share your address. Period!