🖤 Black Friday Sale: Extra 10% OFF with code BFCM10 | Same Renewal
Grab Deal

How to Install WordPress on LocalHost - A Beginner-Friendly Guide

Last Updated: December 13, 2023 4 min read YouStable
Install WordPress on LocalHost on Windows, macOS, or Linux

We all love WordPress It is easy to design a professional-looking website without having programing knowledge at all. 

If you are website designer then working locally always been a best solution to see the changes on real time without impacting your user’s experience at all. 

There are various options available to Install WordPress CMS on your Windows, Mac or Linux based machines and here we will be discussing about 2 easiest methods on setting up WordPress.

How to Install WordPress using Ammps (WAMP Stack) by Softaculous?

Here are the steps to Install WordPress using Ammps are:

Step 1: Download and Install AMPPS

Visit the official AMPPS website: https://www.ampps.com/download

Download the AMPPS installer that matches your operating system (Windows, macOS, or Linux).

Run the installer and follow the on-screen instructions to install AMPPS on your computer.

Step 2: Start & Login AMPPS

After installation, launch AMPPS from your desktop or start menu and once you start you need login with your Softaculous Account (Create new account if you don’t have already https://www.softaculous.com/clients) and click on Continue on Services Installation Tab.

By Default it will install 

Php 7.4, Softaculous, MySQL 8.0.1, PMA 5.2.1 and Apache 2.4.54

X7ypYlioqzA4hq7PvuBinWOyYtGawHfUSrS Bign2KwEYZhBfvetG36MPJT3 zJNOt25XidpIOoHxRW6fHQgFBAFg1Ap9hXbN7iZ0mwohI wWx89go F5oWja9zIh2q5kzK8c8XI2Uv8QTc3vll CZg

Step 3: Start Apache, MySQL and Php

Once AMPPS is running, you'll see the AMPPS Control Center.

Start the Apache and MySQL services by clicking the "Start" button next to each of them. They should turn green when they are running.

4kliHaYJo6VbDZQmxpjxcL3lqMTOC7GBZ4psMBy2gIksiruKNVS44EVUPTt400hNMbIhxeytJnLgpWnOpdTqmvVIU KPILvUJ2GZKe 0SMwJTG8dBC3ih99PDjC2qcV9WwcW 1Mhx6EedfX9fUcen0c

Step 4: Create a Database for WordPress

  • Open a web browser and go to http://localhost/ampps.
  • Click on the "phpMyAdmin" link in the AMPPS Control Center. This will open phpMyAdmin in your browser.
  • It will ask you login credentials and by details username is “root” and password is “mysql”
  • Click on "Databases" in phpMyAdmin's menu.
  • Enter a name for your WordPress database (e.g., "wordpress") and select "utf8_general_ci" as the collation.
  • Click the "Create" button to create the database.
TD9a5Q9YHrEX8QYTKkwYdYQC6J DiP0tZIgY8T30AefM M3wpNAkHCz fH18cr2hbY4ZJugIqmFAequ93IyuBoh0N54ARDDBJdUUM3mdgv5fFkZnYeyfijGM4Eo5MQ2SvfsFxBFK9DBa1X2Eb2KF6 8

Step 5: Download WordPress

  • Visit the official WordPress website: https://wordpress.org/download/
  • Download the latest version of WordPress in a ZIP format.
D7oGpmFjvL95MZjfdNo0WRLigY9iu9NITW FYsUYk31KCZT9b UQYAe9eNDOisNs W3O6nlGdtmaAorLRkKvQQ FbUfbbT4zqH1IfYPESJn0ApG5ZY sMtnxQekl6cqFqydSWnvu7mr2yaIZL2RzW3g
  • On Ampps Dashboard choose “root directory” to navigate file location of your website and content 
  • Create new directory under “root dir” and Extract the ZIP file to a folder on your computer.

Step 6: Configure WordPress

  • Rename the "wp-config-sample.php" file in the WordPress folder to "wp-config.php."
UE1PtkLy6HT SF2rR2gDySOr8XQQXfeR77bhIx t2NhPtgQo5OcVrSQ2TL0NjTDc1gFiMKaJdl5bzFpBzjfo3KhEeGciMRf 5QdpuHJQG7ssPWkEY39cX5Zl4Btuu1dW68n9UUU1FYrYF55j 5iqhSI
  • Open "wp-config.php" in a text editor (e.g., Notepad on Windows or TextEdit on macOS).

Step 7: Configure Database Settings

In "wp-config.php," locate the following lines:

  • define('DB_NAME', 'database_name_here');
  • define('DB_USER', 'username_here');
  • define('DB_PASSWORD', 'password_here');
CUgPNNyj783kgUPfgV0sFCMFIZ81novtZRMG4nT2v1 svyxVX4Lgtq7LYYcf stRhxwCv1LwW1Vi64xrIv8Md7ZYvMPCm6pLNOgAlnxEOnesh1S7Feq4vroXhADDFTPnXktlWJxS338QkHcwZ nPlGs
  • Replace 'database_name_here' with the name of the database you created earlier.
  • Replace 'username_here' with "root."
  • Replace 'password_here' with “mysql”.

Step 8: Save and Close

Save the changes you made to "wp-config.php" and close the text editor.

Step 9: Install WordPress

(replace "your-wordpress-folder-name" with the actual folder name where you extracted WordPress).

0fF3QAksCq7Cjliyz6et0B1DQ3cFQWGvQTL2Xkm1EmWe Pv5z2YQxVldg9S72MNRiQPt uqsgrLCHAX6GNSZY0AHCkhpLYpHEDinRiXzYmOavDnlbqtULpie630lZXvuHLXakylrTbdMikHMp5pcHGE
  • You will see the WordPress installation wizard. Select your language and click "Continue."
  • Fill in the requested information for your WordPress website, including the site title, username, password, and email address.
2MWBAaKyuyGJ lQXhcZomhJkgtWZmZYJo2CU 4QGTie1fF3L wYqiD7q0Jw5NtPc247pVGlgTi2A4a2 vy 6WS6nUO8FyOOti Hkzcej393t6O0XhsEwKl87OSwMpZtWaJjwWG9 OXnZ2wewRrRldA
  • Click "Install WordPress."
OwnrUiQBPYnD 00Y7f6gdKeu4hESppSUGXxSzpvaAtcmInQdfJSbJVpdKeYf7tP6oo1OeJ6tjzWiJvV jaAWtxaqJf5rMiZbngUr6OP7a6jKbPD8XqJ0RCP9EGWlIT2L4jytCbdoZXtpkYbl4 z8VM0

Step 10: Access Your Local WordPress Site

After the installation is complete, you can log in to your local WordPress site by going to http://localhost/wp/wp-admin/

(replace "your-wordpress-folder-name" with the actual folder name where you extracted WordPress).

  • Use the username and password you set during installation to log in.
AeZWP9dahjL7Wd6Rn2XhTPb0QlvIx13DUvLo0qhfr92puqH oHmKVyjL7TYHvmhrSHcAhaE5TwwV8Mupkz3NekWdgE9LvDbsERVcnOdzzVVxb9DTXILeMmY GA t02yrpsoVe7qkNjSr8Lv5U2gNQoI

You have now successfully installed WordPress locally using AMPPS. You can start developing and testing your website locally before deploying it to a live server.

If you are new to AMPPS application then don’t worry you can follow the same procedure for XAMPP and WAMP Applications as well because all 3 of these carry the same envoirement to run your application.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top