Simple & Easy Help
for WordPress Beginners

Install WordPress On Local Server – Windows

Get the Latest from Sniffle Valve

Sniffle Valve logo

If you find this tutorial to be helpful and of use, consider buying Sniffle Valve a coffee  

For help with the content presented in this tutorial, book a one-on-one online training session

What do we want to do:

  • get WordPress running on your Windows PC

What we are going to do:

  1. Download Uniform Server
  2. Install Uniform Server
  3. Start Uniform Server – Apache and MySQL
  4. Download WordPress
  5. Get Uniform Server ready for the WordPress install
  6. Install WordPress
  7. View the site
  8. Log in to the WordPress Dashboard

Let’s Do It!

1. Download Uniform Server

  • go to the Uniform Server site http://uniformserver.com/
  • select the Download now for Windows button
  • select the download link following “Looking for the latest version?”
  • select Save File from the dialog box
  • when it has finished downloading, the XX_X_X_ZeroXI.exe (the XX_X_X will be the current version number) will be in your Downloads folder (or wherever you set your downloads from the web to be stored)

2. Install Uniform Server

  • you must be logged in with Administrator privileges to install Uniform Server
  • on a personal PC, this should be your login
  • for ease of access and installation, we will install Uniform Server in the base location of your hard drive, C:
  • copy the downloaded Uniform Server exe to C: and double click to start the extraction
    • NOTE: Uniform Server exe is a self-extracting archive and is NOT an executable program
  • select Run on the security warning dialog
  • accept the default location suggested (C:) and select Extract
  • when the extraction is completed, there will now be a folder on your C: drive named UniServerZ
    • NOTE: this guide refers to the default settings for Uniform Server for both the installation and settings and is expecting the installation to be in the following location: C:UniServerZ

3. Start Uniform Server – Apache and MySQL

  • navigate to C:UniServerZ and open the folder
  • double-click UniController.exe
  • if a security alert pops up, select Allow access
  • on the MySQL root password pop up, select Cancel
  • on the MySQL Info pop up, select OK
  • the Uniform Server Control Panel is now displayed
  • first select Start Apache – the box should go from red to green
  • if a security alert pops up, select Allow access
  • second select Start MySQL – the box should go from red to green
  • if a security alert pops up, select Allow access
  • the Uniform Server Reference page, Test page and Welcome page will be displayed; close them if you like
  • the Uniform Server icon will now be in your System Tray; select it to open the Uniform Server Control Panel
    • NOTE: you must start Uniform Server and ensure both servers are running (green) every time you want to work on your local WordPress site

4. Download WordPress

  • go to the WordPress.org site http://wordpress.org/
  • select the Download WordPress button, then select the Download WordPress X.X.X. (the X.X.X. will be the current version number) button (using the .zip – <file size> version)
  • the WordPress zip file (wordpress-x.x.x.zip) will be downloaded to your Downloads folder (or wherever you set your downloads from the web to be stored)

5. Get Uniform Server ready for the WordPress install

  1. create a new, empty database
    1. open the Uniform Server Control Panel
    2. select the phpMyAdmin button
    3. in phpMyAdmin, select the Databases tab
    4. enter a database name (lower case, no spaces or special charaters – for this guide I’ll use winwordpress1 ) in the Create database box then select the Create button
    5. a notification will show that the above database has been created
    6. notice that the new, empty winwordpress1 database is now in the list in the left side bar
    7. close the phpMyAdmin tab/window as that is all there is to do for the database; the WordPress installer will create the necessary tables and populate them accordingly
  2. create a location for the WordPress installation and extract the files
    1. the folder where Uniform Server keeps all the files for local websites is called the root directory or web root and is named www, which is located in C:UniServerZ
    2. copy the WordPress zip file to www
    3. right-click on the zip file and select Extract All…
    4. in the Extract Compressed (Zipped) Folders pop up, enter C:UniServerZwww as the location where the files will be extracted then select Extract
    5. the zip file will be extracted and there will now be a folder named wordpress within the www folder
    6. rename this wordpress folder to winwordpress1 for this guide (you can name it whatever you like but you will have less grief, woe and misery if you keep it short, lower case and no spaces or special characters)
    7. you now have in this winwordpress1 folder all the files necessary for a complete WordPress site
    8. this is the location of the site on your Windows PC:
      C:UniServerZwwwwinwordpress1

6. Install WordPress

  • in your browser, enter http://localhost/winwordpress1
  • at the first screen, select the Create a Configuration File button
  • at the next screen, select the Let’s go! button
  • at the next screen enter the following:
    • Database Name: winwordpress1
    • User Name: root (this is the default Uniform Server database user name)
    • Password: root (this is the default Uniform Server database password)
    • Database Host: localhost
    • Table Prefix: wp_ (leave as-is)
  • select the Submit button
  • All right, sparky! … select the Run the install button
  • at the next (Welcome) screen enter:
    • Site Title: whatever suits your fancy, perhaps something like My First WordPress Site on Windows
    • Username: this is a user name of your choosing to log into this WordPress site
    • Password, twice: this is a password of your choosing to log into this WordPress site
      • NOTE: about user names and passwords
      • generally, for local installs ONLY that I am using for testing themes and plugins, etc., and which I never plan on moving to a hosting account, I use simple, easy to enter values such as admin and 123123
      • if you ARE planning on moving this local site to a hosting account at some point, then use strong, difficult to guess values and NEVER admin as the user name
    • Your E-mail: enter any properly formed e-mail address
      • NOTE: Uniform Server does provide e-mail functionality, but setting it up is not part of this guide, therefore you will not be able to send e-mails from within the local site
    • Privacy: uncheck for local installs
    • select the Install WordPress button
  • at the next (Success!) screen, select the Log in button
  • at the next (Log In) screen, enter the Username and Password you entered on the Welcome screen
  • select the Log In button

Welcome to your WordPress Dashboard!

7. View the site

  • To view the site, use http://localhost/winwordpress1

8. Log in to the WordPress Dashboard

  • To access the log in, use http://localhost/winwordpress1/wp-admin or http://localhost/winwordpress1/wp-login.php

That wasn’t so bad, was it?

You are not limited to one WordPress site in Uniform Server. As a matter of fact, you are not limited to just WordPress. You can install any other similar web platform that uses the same framework (PHP and MySQL), such as Joomla!, PrestaShop, eFront, Drupal, etc.

And you can install as many sites into Uniform Server as your hard drive has room for; that is the only limit.

For example, if you wanted to install another WordPress site, you would simply follow Steps 5, 6, 7 and 8 again, but using different values for the folder and database names of course.

Go ahead and try it!

Use winwordpress2 this time as an example.

See if you can do it without “cheating” by referring to this guide. 🙂