Quick Guide: Install WordPress on Windows with WAMP

Installing WordPress in a local environment is a great way to get familiar with this powerful content management platform. In this article, you will learn how to perform a WordPress installation on your Windows computer using WAMP as a local server. All the necessary steps to accomplish this task are detailed below.

What is WAMP?

WAMP is an acronym that stands for Windows, Apache, MySQL and PHP. It is a package that allows you to create a local server on a Windows machine, making it easy to install web applications such as WordPress. With WAMP, you can develop and test your websites before putting them online.

WAMP components

  • WindowsThe operating system on which WAMP is running.
  • ApacheThe web server that handles HTTP requests.
  • MySQL: The database management system that stores your website information.
  • PHPThe programming language that allows the execution of server-side scripts.

Downloading and installing WAMP

To get started, you need to download the WAMP installer. The steps to follow are described below:

Steps to download WAMP

  1. Visit the official WAMP website: WampServer.
  2. Select the appropriate version for your operating system (32-bit or 64-bit).
  3. Download the installer and save the file to your computer.

WAMP Installation

Once the file is downloaded, follow these steps to install WAMP:

  1. Run the installer by double-clicking on the downloaded file.
  2. Accept the terms of the license agreement and click on Next.
  3. Select the destination folder where you want to install WAMP and click on Next.
  4. Choose the browsers you want to use and click on Next.
  5. When prompted, select the MySQL client (normally, it is recommended to leave the default option) and click on Next.
  6. Complete the installation by clicking on End.

Initial configuration of WAMP

After installation, it is necessary to perform an initial configuration to ensure that everything works correctly.

Start WAMP

To start WAMP, find the shortcut on the desktop or in the start menu and double-click it. Once WAMP is running, you will see an icon in the system tray. If the icon is greenmeans that all services are working properly.

Configure PHP and MySQL

You may want to adjust some PHP and MySQL settings. To access these settings:

  1. Right click on the WAMP icon in the system tray.
    Quick Guide: Install WordPress on Windows with WAMP
    Download our web maintenance guide Free of charge!
    Free guide for freelancers and small businesses that want to avoid surprises and improve their web performance.
  2. Select PHP and then php.ini to edit the PHP configuration.
  3. Do the same for MySQL y my.ini if necessary.

Installing WordPress

Now that WAMP is configured, it's time to install WordPress. Follow these steps:

WordPress Download

Visit the official WordPress website and download the latest version in .zip format from WordPress.org.

Decompression and file location

Once you have downloaded the .zip file, follow these steps:

  1. Unzip the file to a temporary folder.
  2. Copy the unzipped WordPress folder and paste it into the folder www of WAMP. Generally, this folder is located in C:wamp64www.

Creation of the WordPress database

Before you can install WordPress, you need to create a MySQL database.

Access to phpMyAdmin

WAMP includes phpMyAdmin, a tool that facilitates database management. To access phpMyAdmin:

  1. Click on the WAMP icon in the system tray.
  2. Select phpMyAdmin.
  3. Log in with the user root and leave the password blank.

Creation of the database

Once in phpMyAdmin, follow these steps to create the database:

  1. Click on Database at the top.
  2. Enter a name for your database (for example, wordpress_db) and click on Create.

Completion of the WordPress installation

With the database created, you can proceed with the WordPress installation.

Access to WordPress installation

Open your web browser and navigate to http://localhost/wordpress (assuming you have named the WordPress folder "wordpress").

WordPress configuration

Follow the on-screen steps to complete the installation:

  1. Select the desired language and click on Continue to.
  2. Enter the details of the database you created earlier:
Database name: wordpress_db
User: root
Password: (leave blank)
Database server: localhost
Table prefix: wp_ (you can leave it as default)
  1. Click on Send to and then in Install WordPress.
  2. Enter the site details, such as title, user and administrator password.
  3. Click on Install WordPress to finalize the process.

Access to your new WordPress site

Once the installation is complete, you can access your new WordPress site. Go to http://localhost/wordpress/wp-admin and log in with the credentials you created.

And that's it! You now have a complete WordPress installation on your computer using WAMP. You can start developing your website, test plugins or just explore WordPress features in a secure and local environment.