Using Mamp With Wordpress



Do you want to install WordPress Locally on your MAC using MAMP? MAMP is an easy-to-install collection of Apache, MySQL, and PHP grouped together for Mac. Using MAMP you can install WordPress on your Mac. In this article, we will show you what actually MAMP is and how to install WordPress Locally on your MAC using MAMP. When you want to install WordPress locally, you need to get a local AMP stack set up on your machine. In the case of WordPress, AMP stands for Apache, MySQL, PHP. These are the software needed to mimic what a managed WordPress host would be running for you on its web server. There are a variety of methods you can use to do this. 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. The name of this WordPress folder will be included in the URL of your local WordPress install (i.e. MAMP is free software that lets you run Apache and PHP on your computer, both of which you need to run WordPress locally. The reason you need MAMP is that it runs PHP (which WordPress is written in), MySQL and Apache on your machine. This means you can create and run queries from a database, which is where WordPress stores your content.

Do you need to install use and WordPress on your MAC OS? And you are so new that you are afraid? No reason to worry. In this article, you will now learn how to install WordPress on a MAC PC using MAMP.

What is MAMP

MAMP is a blend with four components. Here is the breakdown -Macintosh, Apache, MySQL, and PHP. In short, MAMP is a free and open-source software for site development and testing. In other words, it is a one-click solution for setting up your web server on a local PC. And it comes free of cost.

Note: There is a Pro version, but we will only discuss the free version.

Mamp

Benefits Of Using

First of all, for those who are thinking of learning WP basics, this is the best way. You will get a few benefits when you use it on your local MAC or Windows PC.

Using Mamp With Wordpress Download

  • You don’t need to pay for domain and hosting.
  • You will get an entire web setting on a local server.
  • Work offline so that the world will not see what you are developing.
  • You will learn to create and transform your themes.
  • You can test the WP Plugin that you desire.

System Terms

Let’s a look at some of the terms and conditions before installing it. Your system must meet the following Terms:

  • Your macOS must be Sierra 10.12 or later
  • You need a user account that is part of the admin group. To confirm this, please go to “System Preferences.” then “Users and Groups.”

We hope you are being inspired by reading the above points. We are optimistic that you will succeed if you follow our instructions step by step. So let’s start with the first step.

STEP 1: Download & Install MAMP

At first, you need to go to the MAMP web page. Then click the free download option, and there you will get two more choices. While the download is complete, you are ready to go for the next step.

Now open the downloaded file and drag it inside the Applications folder. Then it will ask you to click next. So, when installing other software, do the same in the way you clicked Next.

Finally, you are ready to launch MAMP on your Macintosh. There is also a Pro version, so be careful to click the right one.

STEP 2: Configure MAMP Settings

To make a better user experience, we recommend you to adjust some of the MAMP’s settings. When you get started, you can do this by launching the preference menu. Then go to the Port Tab.

Usually, you will see two ports named Apache and Nginx. But we will only change the Apache port number. In general, it will display 8888, but we will update it to 80.

After setting up port 8888 to 80, you are ready to access your local website. It also means you have to provide your computer’s admin password each time you start with the MAMP server.

Using Mamp With Wordpress

NOTE: This will allow access to your local site http://localhost instead of http://localhost:8888.

STEP 3: Set Document Root Folder

Now this time is to set the document root folder. The site you want to create and store will be in this folder. The default document root is C:/MAMP/htdocs, but you can change that to more place.

Go to the preference dialogue box, and jump to the Web server tab. After then select the folder where you want to store your site. In general, you should keep each of your sites in a new folder.

You can also rename this folder name—for example, htdocs, athemeart, etc. Now click OK to save what you change so long.

STEP 4: Create a Database to store Website Data

We will now create a database because WP needs it to store all data. So So we are doing this first before installing. Indeed, it is an effortless task, like the previous ones.

Now click on the button Open Web Start Page in the MAMP window. You will now see a new browser window is opening. Then you need to click on Tools >> phpMyAdmin from the top menu bar.

After that, click on Databases and then Create Database. Write a new name for your Database in the name field. From the right, the next tab is the database connection collation. It will remain as it is showing by default.

Now click on the Create button, and your new one is ready.

STEP 5: Install WordPress

Now it’s time to install WordPress. First, you need to visit WordPress.org and download a copy from them. Once your download is complete, you need to unzip it.

Then you need to copy the file and paste it into your MAMP Document Root Folder. You are also welcome to rename this folder anything you want.

In the installation wizard, the first step is to select the language. Then choose the language and click the “Continue Button.” On the next screen, it will ask you to complete the information form. So click on the “Let’s Go” button.

Approaching the following page, it will ask you to provide Database information. So give all the data you created before here. You have to use “Root” for Username and Password. And use “localhost” for Database Host.

WordPress will now continue the installation, and you’ll see a success message once it’s done.

Final Thought

Finally, we hope you can now install this on your MAC OS. We have discussed smooth methods in this article, which will help you go for an easy run. And we even believe that newcomers can do the task. So start it now without delay.

Using Mamp With Wordpress

Any sort of WordPress development – testing themes and plugins, creating themes and plugins, etc. – can be done on your own computer. Why would you want to do this? You’ll find the process much quicker and it’ll stop you going crazy waiting for files to upload to the server.

Getting WordPress installed on your own computer, as if your computer was a webhost’s server, is easy on a Mac with MAMP. If you are on a Windows PC you can use XAMPP.

Setting up MAMP and installing WordPress

The following video shows you how to install WordPress on your Mac using MAMP. This can be done in 5 minutes.

First of all you should download and set up MAMP. MAMP is a acronym that stands for the stack of software it uses:

  • M is for Mac OS X, your operating system
  • A is for Apache, the web server
  • M is for MySQL the database management system (or database server)
  • P is for PHP (or Perl or Python) the programming languages used for web development

Now that you have all this MAMP goodness installed on your machine, everything that you put in the folder Applications/MAMP/htdocs/ ends up on your localhost “website” which you can access through a browser at http://localhost:8888.

Next you should download the most recent version of WordPress (how many times have we all done that?) After unzipping, place the /wordpress/ folder inside your /htdocs/ folder.

Now you need to create a database:

  1. Go to http://localhost:8888/MAMP/
  2. Click the PHPMyAdmin tab along the top
  3. Click Databases in the second line of tabs in blue
  4. Type a name for your database (no spaces or special characters) and remember it
  5. Click Create

Having created the database you are nearly ready to install WordPress! Go to http://localhost:8888/wordpress in your browser.

With any luck, you’ll be greeted with a screen saying, “There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.” Ignore it and click “Create a Configuration File”.

You’ll then see a screen checking that you have the 5 bits of info you’ll need to configure WordPress. You have them. Click “Let’s Go!”.

As you can see above you only need to change the top 3 fields to connect to your database:

Using Mamp With Wordpress App

  1. Your database name (the one you created in PHPMyAdmin and you remembered it, right?)
  2. A username. Use “root”.
  3. A password. Use “root”.

The remaining two you can leave as “localhost” and “wp_”. Aids deezer arl.

Click “Submit”. You’ll then be taken to another screen and referred to as “Sparky”. Click “Run the Install”.

Finally, you’ll be presented with a screen where you can enter the name of the site, the username and password, etc. Then, click “Install WordPress” and you’re done. You’ll be taken to the WordPress administration dashboard at http://localhost:8888/wordpress/wp-admin. Phew!

Installing multiple versions of WordPress on your Mac

This process can be repeated again and again.

The above video shows you how to install another WordPress site on your localhost so you can have multiple WordPress installs to play around with.

All you have to do is to create another database using PHPMyAdmin, download WordPress and run through the above installing process again.

You can do it

If you create multiple WordPress sites both for your clients and yourself, it’s really essential to develop locally first before you create the site on a web host. Having multiple local WordPress installs will speed up your development time.