Установка wordpress на mamp windows

In this lesson, you will learn how to install WordPress locally on your own computer.

Prerequisite Skills

Participants will get the most from this lesson if they have familiarity with:

  • Experience downloading and installing programs on their computer.
  • Administrative access to their local machine.
  • Familiarity with the file system of their computer.

Objectives

After completing this lesson, participants will be able to:

  • Download, install and configure MAMP.
  • Start MAMP servers.
  • Create a database.
  • Download and install WordPress.

Materials Needed

  • MAMP
  • WordPress

Screening Questions

  • Have you ever used WordPress?
  • Have you created posts and pages in WordPress?
  • Have you changed a theme in WordPress?
  • Have you ever wanted to look under the hood of WordPress?

Notes for the Instructor

  • Ahead of the lesson, make sure you take a look at your own computer setup. If you have MAMP or MAMP Pro already installed on your machine, you may want to run this demo on a virtual box to avoid conflicts with existing software and local sites that you may want to keep on your machine.
  • Sometimes it can take a while to download large files like MAMP or WordPress core. You may want to have a copy of MAMP and the current version of WordPress downloaded and stored on a thumb drive that can be passed around the class before you start the lesson. In the context of the demo, you would still show where to download these files but would skip the actual live download.
  • MAMP is updated quite often. Please be sure to walk through the lesson plan with a fresh install to be sure it is still up to date.

Lesson Overview

To run WordPress locally, you need to have a server. In this lesson, you will learn to set up a server, create a database and install WordPress on your computer.

Install MAMP

MAMP stands for My Apache, MySQL, and PHP. MAMP is an application you can install on your Mac or Windows PC that allows you to have access to a local server that is running PHP and MySQL. Essentially, MAMP gives you all of the tools you need to run WordPress on your machine, for development and testing purposes.

  1. To install MAMP, go to https://www.mamp.info/en/downloads/. 
  2. Download the version of MAMP that corresponds with your machine (Mac OS X or Windows).
  3. Double click on the downloaded file. This will open the installation dialog.
  4. Next, we’ll follow the prompts in the dialog to complete the installation. This course uses the default settings recommended by the install dialog.
MAMP INSTALLER on Mac OS Big Sur

Open and configure MAMP

  1. Now that MAMP is installed, let’s open it up! MAMP has a button to start servers when first started. By clicking on “Preferences” you can select an option to start the Apache HTTP Server and MySQL database server upon starting MAMP.
Start Servers

  1. Click on the “preferences” icon. You’ll see that there are several tabbed menu items available.
  2. Click the “Web Server” tab and find the “Document Root.” This path is where MAMP expects to find the files associated with your local website. In this case, this is where the WordPress files will need to be located to run them on the server. You may change this directory to whatever you want. The default is “/Applications/MAMP/htdocs” on a Mac and “C:/MAMP” on Windows. 
Server menu in MAMP

Set up a Database

  1. Next, we will create a database on your new MAMP server. This database will become the database for the locally installed WordPress site.
  1. Go back to the MAMP dialog and click “Start.”
  1. Using the menu bar at the top of the page, click “Tools -> phpMyAdmin.”
MAMP Tools

  1. The phpMyAdmin dialog will appear.
phpMyAdmin dialog

  1. Click the “New” link in the left menu sidebar. In the following dialog, use the name “mydatabase” to name the database:
Create new database in phpMyAdmin

  1. Leave the “Collation” option as default.
  2. You now have a database called “mydatabase.” Congratulations!

Install WordPress

  1. Now we’re ready to install WordPress on our local machine! Go to https://wordpress.org/download/ to download the most recent version of WordPress. Once you download and copy the WordPress files to your computer, you will be able to install WordPress using the traditional 5 Minute Install.
  1. Move the downloaded zip file to the default server directory, “/Applications/MAMP/htdocs.” You could expand the zip file in your downloads folder and move the expanded folder and its contents, but sometimes the “hidden” system files that are included in WordPress (like the .htaccess file) fail to copy over to new folders if the contents are unzipped. For that reason, we’ll leave our zip file zipped while we’re moving it.
Move Zip File

  1. In the new”/Applications/MAMP/htdocs” location, double click the WordPress zip file and it will expand. Remove the zip file and the index.php file.
unzip WordPress

  1. Go back to your web browser, and in the black menu bar, click the link “My Website.”
    My website

  1. The link will take you to a list of websites installed in the directory. Click the “WordPress” link. This link will take you to the 5 minute WordPress install.
WordPress install

  1. Get ready to enter your database information:
  • Your “Database Name” is: mydatabase
  • Your “User Name” is: root
  • Your “Password” is: root
  • Your “Database Host” is: localhost
  • You can leave the “Table Prefix” as the default:  wp_
database settings

  1. Now, let’s click the “Submit” button to run the install.
Run the installation screen

  1. Click the “Run the install button” and then choose a username and password on the next screen. That’s it! You’re ready to log in!
  2. The link for your new site: http://localhost:8888/wordpress/. You will log in at this URL: http://localhost:8888/wordpress/wp-login.php. 

Exercises

The following exercises reinforce the skills needed to install WordPress locally:

Practice Using phpMyAdmin

  • Navigate back to phpMyAdmin on your localhost.
  • Click on the name of your database to view the contents of your database now that you have installed WordPress.
  • When looking at the database tables, scroll to the bottom of the page and click the “check all” box. Then in the dropdown that says “With Selected” choose “Export” and follow the prompts to practice backing up your database.
  • Practice making a new database within phpMyAdmin.

Try Installing a Second WordPress Local Site

Go through the exercise demonstrated in this lesson again and try setting up a second instance of WordPress on your local machine in a new location.

  • Make sure the document root matches wherever you’ll keep your files for the second instance of WordPress.
  • Set up a new database using phpMyAdmin.
  • Extract the WordPress files in a new location on your computer.
  • Run the famous 5 minutes install for your new local site.

Assessment

What does “MAMP” stand for?

  1. My Computer, Apple, MySQL, PHP
  2. My Computer, Apache, MySQL, PHP
  3. My Apache, MySQL, PHP
  4. Macintosh, Apple, MySQL, PHP

Answer: 3. My Apache, MySQL, PHP

What is the user name and password for any named local install?

  1. username: root; password: localhost
  2. username: localhost; password: localhost
  3. username: root; password: root
  4. username: localhost; password: root

Answer: 3. username: root; password: root

What systems can MAMP run on?

  1. Macintosh
  2. Windows
  3. Macintosh and Windows
  4. Linux
  5. Macintosh, Windows and Linux

Answer: 3. Macintosh and Windows

Additional Resources

  • WordPress Installation Techniques @ Codex

Что нужно поставить на компьютер, чтобы делать сайты

Устанавливаем MAMP за 10 минут

Что нужно поставить на компьютер, чтобы делать сайты

Обновлено 11.02.2025

medium

Задача на сегодня — сделать так, чтобы вы могли запускать собственные сайты на своём компьютере. В частности, чтобы вы могли локально установить «Вордпресс», потыкать его, поучиться его настраивать и, может быть, сделать заготовку для собственного сайта в будущем. 

Вообще для разработки и тестирования сайтов чаще всего нужен такой набор софта:

  • база данных, чтобы сайт там мог хранить свои данные;
  • веб-сервер, который будет отвечать на запросы и отдавать готовые страницы;
  • скриптовый язык для обработки и сборки страниц, обычно это PHP.

Даже для установки Вордпресса мы использовали сервер в интернете, а не домашний компьютер, потому на сервере уже есть весь нужный софт, а на домашнем компьютере — нет. Сегодня мы это исправим.

Что такое MAMP

MAMP — это комплект софта, который устанавливается из одного пакета, сам настраивается и превращает ваш компьютер в локальный сервер для разработки и тестирования сайтов. В одном пакете уже собрано и настроено всё необходимое, как в комплексном обеде. Распаковывай и пользуйся. 

MAMP — это аббревиатура:

  • Mac OS или Macintosh — операционная система, на которой будет работать софт;
  • Apache — веб-сервер;
  • MySQL — база данных;
  • PHP — скриптовый язык для работы сайта.

Такие сборки правильно называть AMP, без указания операционной системы. Но MAMP-проект оказался настолько удачным решением, в том числе и с версией для Windows, что теперь это сокращение стало стандартом и все понимают, о чём идёт речь.

Где скачать

Чтобы скачать MAMP, зайдите на страницу загрузок и выберите свой вариант:

Если у вас Линукс, то, скорее всего, скачивать ничего не нужно — MySQL, PHP и Apache идут в комплекте с большинством дистрибутивов.

Вам может быть интересно:

Как установить

После скачивания запускаем файл и ждём, пока всё установится на компьютер. Если не нужна про-версия и дополнительный софт, эти галочки можно снять:

Что нужно поставить на компьютер, чтобы делать сайты

После установки достаточно запустить только программу MAMP, а она уже сама запустит всё остальное. Зелёные кружочки справа означают, что сейчас работает веб-сервер и база данных, а облачный сервис — нет (да и он нам не нужен сейчас):

Что нужно поставить на компьютер, чтобы делать сайты

Проверим, что всё заработало как нужно: наберём в адресной строке браузера localhost/MAMP и нажмём энтер:

Что нужно поставить на компьютер, чтобы делать сайты

Открылась страница MAMP — это значит, что всё работает как нужно.

Как использовать

Чтобы проверить MAMP в деле, установим и запустим Вордпресс у себя на компьютере. Для этого нужно пройти три принципиальных этапа: 

  1. Залить файлы Вордпресса на сайт.
  2. Создать для Вордпресса базу данных.
  3. Запустить установку Вордпресса.

Теперь подробнее:

Заливаем файлы

1. Скачиваем последнюю версию Вордпресса.

2. Внутри папки, куда мы установили MAMP, находим папку htdocs и в ней создаём папку test-site (имя может быть любым).

Что нужно поставить на компьютер, чтобы делать сайты

3. Распаковываем Вордпресс, заходим в папку wordpress и копируем её содержимое в нашу папку test-site (или как вы её назвали).

Что нужно поставить на компьютер, чтобы делать сайты

Создаём базу данных

4. Заходим в браузере на localhost/MAMP и запускаем PHP My Admin — программу для управления сервером и базой данных.

Что нужно поставить на компьютер, чтобы делать сайты

5. Выбираем вкладку Databases, находим раздел Create Database и пишем название нашей новой базы для Вордпресса — пусть это будет wp-base.

Что нужно поставить на компьютер, чтобы делать сайты

Запускаем установку

6. Набираем в браузере localhost/test-site/wp-admin/setup-config.php и нажимаем энтер — появляется стандартная установка Вордпресса:

Что нужно поставить на компьютер, чтобы делать сайты

7. Вводим имя базы, которую мы недавно создали, и логин с паролем от неё. По умолчанию оба параметра — root:

Что нужно поставить на компьютер, чтобы делать сайты

8. Запускаем установку:

Что нужно поставить на компьютер, чтобы делать сайты

Дальше перед нами появляется стандартная установка Вордпресса, про которую мы уже подробно рассказывали в другой статье:

Что нужно поставить на компьютер, чтобы делать сайты

Что дальше

Дальше — изучайте Вордпресс, становитесь администратором по Вордпрессу и выбирайте комплектацию вашего нового «Эскалейда». Там надо в предзаказ становиться, машины сейчас долго везут.

Художник:

Даня Берковский

Вёрстка:

Кирилл Климентьев

Installing WordPress on your Windows PC can be a very useful exercise as once installed, you can use this environment to create and test websites. A local WordPress install allows you to keep your work private and means you don’t have to worry about alterations affecting your live site. It also means you don’t even have to go online to work on your projects. So, how do you install WordPress locally?

In this article, we will walk you through step-by-step how to install WordPress locally on your Windows PC. To do so, you will first create a local web server on your computer using MAMP, then download and install WordPress. Here’s a breakdown of the steps involved…

  • Download and install MAMP on your Windows PC.
  • Run MAMP on your computer.
  • Create a new database for your WordPress test site.
  • Download WordPress to your PC.
  • Move WordPress into MAMP’s htdocs folder.
  • Install WordPress locally on your Windows PC.

By following the instructions, you will be able to quickly set up a local development environment on your computer, where you can host WordPress and tinker on your websites all day long!

Install WordPress Locally

There are a number of reasons why people install WordPress locally on their computers. Let’s take a look…

  • Privacy – By working on your new website design in a local hosting environment, you are assured of privacy. This can be perfect for web designers or developers who are working on websites for clients and don’t want the site viewed until it is time for the big reveal.
  • Testing – If your website has some ongoing compatibility issues, or you aren’t 100% happy with the design, you can make a copy of your site and host it locally. Then, you can test any plugin or theme issues that may be causing problems, as well as take your time to redesign your website until it meets your exact specifications.
  • Work off-line – By creating a hosting environment on your computer, you can work on your test website any time anywhere — you don’t even need to be online. This makes it a great option for those who love playing around with WordPress and building their own themes or plugins.

So let’s now find out how to install WordPress locally on Windows PC…

Step 1: Download and Install MAMP on your PC

MAMP homepage

The first step in the process of installing WordPress locally is to create a local hosting environment on your Windows PC. To do this, we recommend using MAMP.

MAMP (Mac, Apache, MySQL, PHP) is a free and premium local server environment that can be installed on the macOS and Windows operating systems. The free version of MAMP provides all the tools you will need to run WordPress on your PC for testing and development purposes.

MAMP PRO comes with extra features, allowing you to create a separate hosting environment for each web project and import existing WordPress sites from live servers. Once your design work is completed, you can also publish projects directly from MAMP PRO to your live server.

To install MAMP, navigate to the Download page on MAMP’s website and select the Free Download > Download MAMP and MAMP PRO 4.1 (Windows) option.

Download MAMP

Now, simply follow the pop-up instructions to install MAMP on your computer.

MAMP Install

This process will take a little time, so be patient!

Step 2: Run MAMP on your PC

Once installed, you need to run MAMP on your PC. Click on the MAMP icon which will now be present on your desktop and select Start Servers.

MAMP Start Servers

After Apache Server and MySQL Server have been activated, click the Open WebStart Page option. The local homepage of your new MAMP install will now open within your browser, telling you that MAMP has been successfully installed on your computer.

MAMP server homepage

If you scroll down the page, you will find the details of your MySQL connection, including your username and password. You will need this information later on when you connect your local database to WordPress, so take note.

MySQL details

Step 3: Create a New Database for Your WordPress Test Site

The next step is to create a new database in which WordPress will store all the back-end data related to your site, such as posts, pages, options, settings, and menus. You need to create the database in the phpMyAdmin application which is included in your MAMP install. To open the program, select the Tools > phpMyAdmin option in the top menu bar of your MAMP homepage.

Open phpMyAdmin

In the phpMyAdmin application, click the Databases menu and find the Create database section on top of the page. Choose a name for your new database, set the collation to utf8_general_ci, and click the Create button.

Create a new database

Your new database has now been created.

Step 4: Download WordPress to your PC

You next need to download WordPress onto your computer. Go to the Download page of WordPress.org and click the Get WordPress > Download WordPress button.

Download WordPress to your PC

Once WordPress has downloaded to your Windows PC, you need to unzip the folder and extract the files.

Step 5: Move WordPress into MAMP htdocs

Now, you need to move WordPress into the htdocs folder of your MAMP install. Copy the unzipped WordPress folder and navigate to MAMP > htdocs; you should find it in your root folder (it’s usually the C drive). Paste the WordPress folder into the htdocs folder.

Move WordPress install into htdocs

The name of this WordPress folder will be included in the URL of your local WordPress install (i.e. localhost/wordpress). You can rename the folder (and consequently the URL) to anything that works for you. For instance, I renamed this folder to TestSite.

Step 6: Install WordPress Locally on your Windows PC

The last step is to install WordPress on your local server. Type the URL of your local WordPress site into your browser’s address bar. I used the localhost/testsite URL, as you can see on the image below. If you haven’t renamed your WordPress folder, type in localhost/wordpress.

Now, follow the instructions appearing on the screen. First, select the language of your choice.

Run the local WordPress install

You will then need to fill in some information about the new database you have created. You will need to define…

  • Database Name – This is the name you chose when setting up the new database for your test site in phpMyAdmin. For instance, I used WordPress Website as database name in our example.
  • Database Username and Password – Both the username and password are root. This info can be found on the MAMP installation page in the MySQL section (as discussed earlier).
  • Database Host – This is localhost. Again, this info can be found on the MAMP installation page.
  • Table Prefix – Leave this as the default wp_.
Database settings

Now, you are ready to install WordPress on your local server. To do so, click the Run the installation button.

Run the Installation

You will need to provide some details about your test site. These settings can be changed later on if needed, so don’t worry too much about your site title, username, and other details at this stage. Then click on Install WordPress.

Install WordPress Locally on Windows PC

You can now log into your WordPress test site using the localhost/testsite/wp-admin URL (replace testsite with the name of your WordPress folder).

Log in to your local WordPress install

Final Thoughts

As you can see, installing WordPress on a local web server is a relatively straightforward process. By following these six steps, you can quickly and easily install MAMP, set up a database for your test site, and download and install WordPress. Then, you can start to design your new website, test existing sites, or just have fun creating with WordPress. Enjoy!

Any questions on how to host a testing environment on your computer? If so, feel free to ask away in the comments below…

How to Install WordPress Locally on your PC

Do we really need an introduction to WordPress? Absolutely not. WordPress is a widely popular, innovative, and rapidly developed content management system used by millions of users worldwide.

It’s beyond doubt that WordPress is by far the most popular CMS in the world, powering over 40% of the world’s total websites. Not only that, most people prefer it to publish content on the web because of its simplicity, plugins for feature extension, free of cost, and eCommerce friendly.

While these being the reason for many favoring WordPress ahead of other content management systems, we must admit that WordPress is not a plugin & play software. One has to learn to use WordPress and master it before establishing a profitable business online.

For beginners, who are trying to set up their site with WordPress, it’s essential to test the site on your local computer before bringing it live. Or you might be a developer trying to create WordPress themes & plugins, then having WordPress installed on your local machine is a must.

Why Use WordPress in a Local Environment?

Working in a local development environment makes everything a lot easier and more satisfying. In the local environment, WordPress is fast, fun to learn, and especially makes it more beginner-friendly. 

To outline some of the advantages of installing WordPress locally are:

  1. Useful when you are out of the internet, especially if you are traveling.
  2. Fast, therefore takes less time to load & less development or learning time.
  3. No need to pay the hosting charge until your site is ready to publish.
  4. It can be useful to test theme or plugin updates.
  5. A place for developers to test WordPress themes and plugins before publishing globally.

Likewise, there are disadvantages of installing WordPress on localhost, but for now, we only want to look ahead to the positive things you can achieve to install WordPress locally. With that belief in mind, let’s proceed to the tutorial part.

This article explains all the steps sequentially on how to install WordPress locally on your PC. Since we will install WordPress locally, we would be using localhost to serve the files of WordPress.

How To Install WordPress Locally on Your PC

You can not install WordPress on your pc like other typical software. Although, you shouldn’t be too soon to consider the installation of WordPress as a difficult task. You need to create an environment to install WordPress on the localhost and act like a WebHost on your system.

We are outlining the significant steps of installing a WordPress on your PC:

  1. Establish an environment (localhost) to install WordPress locally.
  2. Download WordPress from its official website.
  3. Install WordPress on your localhost.

In the following part of this article, we briefly explain all these three steps in more detail. Follow the steps without skipping, and in the end, you will be able to successfully install WordPress on your PC.

1. Set Up an Environment To Install WordPress

First of all, you will need local server software to configure a localhost environment. To create such an environment, we have the tools such as WAMP, XAMPP, MAMP, and many more. Mostly though, people tend to use these three tools for ease of use and efficiency.

In this tutorial, I’m using MAMP because I mainly use it whenever I have anything to test on local WordPress or do any development work.

Note that there is no bound rule to use a particular localhost creation tool. You can start with almost any software that allows you to create an environment for installing WordPress, and you are comfortable with it.

Step 1: Download MAMP

MAMP is a freemium, open-source software and a cross-platform web server solution that provides all the tools needed to run WordPress on a PC for testing or development purposes. You can use this tool to initiate the environment on Windows or Mac operating systems.

Apart from that, I found MAMP more user-friendly than any other local server environment available for PC. If your machine is running Linux OS, you will need to use the XAMPP local server management tool.

To download MAMP visit their official website at this link.

Download MAMP at their official website.

Step 2: Install MAMP on Your PC

Once the download is complete, you will need to install the executable on your machine. While installing, you may notice additional setup options which let you decide whether you want to install the MAMP pro package along with MAMP. (By default, both come in a single package in the executable).

To initiate the installation process click on continue on all the subsequent popups to finally reach the install option. Before installing, you must accept their license.

When it comes to the local host environment, it’s better to keep the program files on your system drive, although having these program files on your secondary drives won’t cause any issues.

After selecting the drive, the installation will start; it should take 2-3 minutes, depending on your system’s ability.

Install MAMP on Your PC

After selecting the drive, the installation will start; it should take 2-3 minutes, depending on your system’s ability.

Step 3: Run the MAMP Application

After installing MAMP on your system, successfully start the application either from your desktop or search for it using the OS search bar if you notice any firewall configuration popup to allow the MAMP application on it.

When MAMP starts, you should see a window like this:

Run the MAMP application.

On the application, click on Start Server; by default, the server will automatically be started as soon as the application starts. If not, initiate the server yourself.

Once the server starts, you will be redirected to a web page on your default browser, which is the MAMP localhost dashboard. The URL should be something like this:

http://localhost/MAMP/

** Remember, this URL will give you a 404 page if your server hasn’t started already.

The dashboard will provide you with technical information such as current PHP configuration; you will have connection parameters to connect your MySQL server.

Welcome to MAMP.

Now that you have all this info with you, you can start the configuration process for setting up your local WordPress site. But before installing WordPress, you have one more step to cover, which is establishing a database.

Step 4: Create a Database

Every WordPress site needs a database. All the website data are saved in this database, and your site heavily relies on it.

Note: If anything goes missing or is accidentally deleted from your database, your WordPress site may suffer damage, and the site will be broken. Since the entities in a database have a relation with each other, any of those entities that are missing from your DB table will result in a malfunction of your WordPress.

To create a database, go to localhost/phpmyadmin on your browser. Click on the newin the left panel, give your database a name (something you can easily remember & naming convention is always a better idea), and then click on create.

Create a database in MAMP.

The name of the database will be required in the future, so it is better to have it in your mind. Once the database is ready, the next step would be installing WordPress on your local server.

2. Install WordPress on Your PC

Now that you have the localhost server and the database ready, you will need to download WordPress from the official website and configure it with MAMP. Follow these steps properly to install WordPress on MAMP localhost.

Step 1: Download WordPress & Unzip

Now download WordPress from this page.

Download WordPress.

Once the download is complete, unzip the downloaded file. Nothing should be changed inside the unzipped directory, or it can damage WordPress.

Step 2: Move Unzipped WordPress Into MAMP’s htdocs Directory

Now you need to open the folder where you have installed MAMP in your system drive. Inside the folder, there should be a subfolder called htdocs. You will need to move the unzipped WordPress folder into this htdocs folder.

Move the unzipped WordPress folder into the htdocs folder.

Now you need to open the folder where you have installed MAMP in your system drive. Inside the folder, there should be a subfolder called htdocs. You will need to move the unzipped WordPress folder into this htdocs folder.

Step 3: Install WordPress in Localhost

To initiate the installation process, type localhost/wordpress on your browser (if you have renamed the folder then replace wordpress with the folder name). Now follow the typical WordPress installation steps you see on the browser screen.

The configuration of WordPress will initiate on this address: http://localhost/wordpress/wp-admin/setup-config.php

The first step is to select your preferred language. Select your language and click on continue.

Install WordPress and select your preferred language.

Then click on the Let’s go button on the following page to continue the installation process.

Welcome to WordPress.

Now the next page will require the database name we configured earlier. You would also need to fill up the username, password, database host, and table prefix. Keep the database host and Table Prefix as they are; however, changing those won’t start a new problem for you.

Add WordPress database.

After filling up the form, click on the submit button to proceed to the next step.

Step 4: [Fix] Error in Establishing a Connection With the Database

Note: If you are getting an error with the message “unable to connect database” or something similar, you double-check the database name. If the database name is okay, it could be the login credentials not matching with the database.

To correct it, go to localhost/phpmyadmin and select your database from the left panel. Then select the privilege tab on the right panel.

Establishing a connection with the database.

Now click on edit privilege of the root user, then click on login information on the next page. Then modify the user name, password according to your need.

Modify the user name, password according to your need.

After finishing, click on go.

When the database connection is established correctly, click on Run The Installation on the next page.

When the database connection is established correctly, click Run The Installation.

Step 5: Provide Admin Information To Complete Installation

The final stage is to provide your website name, admin username, password, and email address. Whether you check search engine visibility or not, it doesn’t matter because you install WordPress locally. It will appear to you as an online website, but others can’t find it on the internet.

Once filled in all the information needed, click on the install WordPress button. You will notice a success notification mentioning successful WordPress installation.

Add admin information to complete the installation.

Wrapping Up

If you follow these steps carefully, there is no chance you will run into trouble during WordPress installation on localhost. Once you install WordPress locally on your machine, you can do pretty much everything possible on a typical WordPress site.

If you know any other way to Install WordPress locally on a PC apart from using XAMPP, WAMP, or MAMP, let us know in the comment. That would be interesting to try to install WordPress locally in another way or with different tools and have fun with WordPress.

We publish such useful tutorials consistently. Keep visiting WP Webify to read more in the coming days.

About the Author

Rupam Krishna Bharali

Blogger and Developer

Rupam Krishna Bharali is a blogger, developer, and article creator. He likes to explore WordPress, SEO techniques, Design and shares them with people in easy to understand language. He has founded the website Gamespec.tech. Besides, he likes to make new connections, especially with developers and bloggers around the world.

View All Articles

Do you want to install WordPress on MAMP Server in Windows? You’re in the right place.

In this tutorial, I will guide you step-by-step on how to download and extract WordPress on MAMP htdocs directory, how to create a database for WordPress on phpMyAdmin, and how to install WordPress on MAMP in Windows.

WordPress is one of the leading and most popular open-source CMS (Content Management System) used for building all types of websites i.e. News & Magazine, Personal blogs, eCommerce, Portfolio, and more. It is written in the PHP programming language and uses MySQL database to store and retrieve data.

Prerequisites

  • MAMP must be installed on Windows | Learn: How to Install MAMP on Windows.
  • You must set root password on phpMyAdmin (If you haven’t already set) | Learn: How to Set Root Password on phpMyAdmin.

RELATED: How to Install WordPress: A Step-by-Step Guide.

Following topics will be covered in this post:

  1. How to Download and Extract WordPress to MAMP htdocs
  2. How to Create a Database for WordPress on phpMyAdmin
  3. How to Install WordPress on MAMP in Windows

01. How to Download & Extract WordPress to MAMP

In this section, I will guide you on how to download and extract WordPress to MAMP htdocs directory.

  • Go to WordPress Download Page to download the WordPress package.
  • Scroll-down to Download and install it yourself section.
  • Click on the Download WordPress button. Here the WordPress version is 6.2.2.
Go to WordPress Download Page to download the WordPress package. Scroll-down to Download and install it yourself section. Click on the Download WordPress button

  • Go to Downloads folder or the folder on which WordPress is downloaded.
  • Right-click on the Zip Folder of WordPress and click on the Extract to wordpress.
Right-click on the Zip Folder of WordPress and click on the Extract to wordpress.

  • Open the extracted folder. There will be another folder inside with the name WordPress.
  • Rename the WordPress folder with your site name. Here I have renamed it to cricketworld.
  • Right-click on it and click on the Copy.
Right-click on the WordPress folder and click on the Copy.

  • Open the MAMP folder.
Open the MAMP folder.

  • Open the htdocs directory. It is the root directory of MAMP Server where you store your sites/projects that you want to run on localhost.
Open the htdocs directory.

  • Paste the copied folder in the htdocs directory.
Paste the copied folder in the htdocs directory.

02. How to Create a Database for WordPress

In this section, I will guide you on how to create a database for WordPress on phpMyAdmin.

  • Run your MAMP Server. The signals of Apache Server and mySQL Server should be green.
Run your MAMP Server. The signals of Apache Server and mySQL Server should be green.

  • Open the phpMyAdmin on your browser like this: http://localhost/phpMyAdmin.
  • Enter your Username and Password to Login.
  • Click on the New from the sidebar.
  • Enter a relevant name for your database in the Create database. Click on the Create button.
Click on the New from the sidebar. Enter a relevant name for your database in the Create database. Click on the Create button.

  • The database is created on phpMyAdmin. The tables will be created during the installation of WordPress.
The database is created on phpMyAdmin

03. How to Install WordPress on MAMP in Windows

Everything is ready now to install WordPress on MAMP in Windows.

  • Browse your WordPress folder on localhost like this: http://localhost/folder_name, for example, http://localhost/cricketworld.
  • The installation of WordPress will begin. Select your desired Language.
  • Click on the Continue button.
Browse your WordPress folder on localhost like this: http://localhost/folder_name. Select your desired Language. Click on the Continue button.

  • Before you get started, it is showing you the required information.
  • Click on the Let’s Go button.
Before you get started, it is showing your the required information. Click on the Let's Go button.

  • Enter the Database Name that you have created on phpMyAdmin.
  • Enter the Username of your phpMyAdmin. By default it is root, if you haven’t changed.
  • Enter the Password of phpMyAdmin Username.
  • In the Database Host enter the localhost.
  • The Table Prefix is added to the beginning of every table of your database, for example, wp_users, wp_content, etc. The default prefix is wp_. If you want to run multiple installations of WordPress on the same database then change it.
  • Click on the Submit button.
Provide your database details like username, password, database name, etc.

  • The WordPress has successfully made connection with your phpMyAdmin database. Click on the Run the installation button to begin the installation of WordPress on MAMP.
Click on the Run the installation button to begin the installation of WordPress on MAMP.

  • Enter your Site Title.
  • Enter the WordPress Admin Username.
  • Enter the Password for Admin Username.
  • Enter your Email Address.
  • If you uncheck Discourage search engines from indexing this site the pages/posts/domain will be indexed on the search engines such as Google, Bing, etc.
  • Click on the Install WordPress button.
Provide the details of your site and enter WordPress admin username and password.

  • The WordPress has been successfully installed on MAMP. Click on the Log In button.
Click on the Login button

  • Enter your Username and Password to login and access your WordPress Admin section. The WordPress admin URL on localhost is http://localhost/site_folder_name/wp-admin.
Enter your Username and Password to login and access your WordPress Admin section.

  • This is how the WordPress Admin looks like. You can create posts and pages, customize/upload themes & plugins, setup WordPress settings, manage comments, users, and much more..
  • Go to top (admin bar), hover over your Site Name and click on the Visit Site to open the front-end (homepage) of your WordPress website.
WordPress Admin section.  Go to top (admin bar), hover over your Site Name and click on the Visit Site

  • This is how the homepage of newly installed WordPress website with builtin theme looks like. You can directly access your homepage (front-end) via this URL: http://localhost/site_folder_name/.
This is how the homepage of newly installed WordPress website with builtin theme looks like.

If you like this post then don’t forget to share with other people. Share your feedback in the comments section below.

Download Website themes

Also Read

  • How To Install & Configure XAMPP On Windows 10 – Step By Step
  • How To Install EasyPHP Devserver On Windows 10 – Step By Step
  • How to Install WordPress on XAMPP | Beginner’s Guide
  • How to Buy Domain & Hosting – Step by Step

Meer Basit

Meer Basit is the founder of Meer’s World. He’s been running the show since launching the blog back in 2018. By background he is a computer scientist. Primarily, he creates content around blogging (WordPress, Blogger, Tumblr), SEO, affiliate programs, earn-online, & eCommerce. In general, he likes traveling, gardening, watching movies, is a passionate cricketer, creative writer, and a GSD lover.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows 10 легкая сборка для ноутбука
  • Windows remote desktop settings
  • Windows server 2003 прекращение поддержки
  • Windows installer returned 1625
  • Dr web scanner для windows