{"id":9583,"date":"2020-07-22T15:00:17","date_gmt":"2020-07-22T13:00:17","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=9583"},"modified":"2020-11-13T14:03:56","modified_gmt":"2020-11-13T13:03:56","slug":"install-wordpress-locally-on-mac-using-mamp","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/install-wordpress-locally-on-mac-using-mamp\/","title":{"rendered":"How to Install WordPress Locally on Mac Using MAMP"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]Working on your website locally is a very common practice among WordPress developers. It is quite easy to set up and it optimizes the development process. For the less WordPress-savvy, it can be a great tool for exploring and improving your existing knowledge. Luckily, there are several free web development tools that can be used. Within this article, we will cover one called MAMP.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]MAMP was originally designed for Macintosh (i.e. macOS) but has since expanded to Windows, whilst keeping the name. MAMP stands for Macintosh, Apache, MySQL, and PHP. Apache is an open-source web server, MySQL is an open-source relational database management system, and PHP is a server-side coding language that WordPress is built on. As such, using MAMP can be useful for numerous WordPress users, as you will soon find out. We will explore it further in the next section. Then, we will show the exact steps one must take to set up both MAMP and WordPress within it:[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#installing-mamp-on-a-mac-computer\">Installing MAMP on a Mac Computer<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#downloading-the-wordpress-files\">Downloading the WordPress files<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#creating-a-database-for-wordpress\">Creating a database for WordPress<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#via-the-on-screen-installer-in-the-browser\">Installing WordPress locally via the on-screen installer in the browser<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;70px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Why You Should install WordPress Locally on Mac Using MAMP<\/h2>\n<p>[\/vc_column_text][vc_column_text]There are a great many reasons why having a local WordPress installation using MAMP can be beneficial. The first and the most common one is wanting a safe environment to test updates before applying them to a live site. As mistakes can be quite costly, i.e. your website can break, it is important to fully test any code changes, self-made or not, beforehand. On the same note, a local installation can also serve as a sort of backup for your actual site. Additionally, working locally is quicker as it circumvents the problem of internet accessibility and connection issues, as well as server issues. Finally, local installations have a reduced risk of acquiring malware or being hacked.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">How to Install WordPress Locally on Mac Using MAMP<\/h2>\n<p>[\/vc_column_text][vc_column_text]Now that we\u2019ve touched on the many advantages of having a local WordPress installation using MAMP, we proceed with the how-to part of the article. We divided the installation process into four parts and carefully and thoroughly explained each one. The step-by-step explanations are accompanied by screenshots so you can easily follow along.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"installing-mamp-on-a-mac-computer\"><\/a>Installing MAMP on a Mac Computer<\/h3>\n<p>[\/vc_column_text][vc_column_text]The first step is to download the MAMP software and install it on your computer. To do so, simply go to the <a href=\"https:\/\/www.mamp.info\/en\/windows\/\" target=\"_blank\" rel=\"noopener noreferrer\">MAMP Info<\/a> website and click on the <strong><em>Free Download<\/em><\/strong> link.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/1-Installing-MAMP-on-a-Mac-Computer.jpg\" class=\"attachment-full size-full\" alt=\"Installing MAMP on a Mac Computer\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/1-Installing-MAMP-on-a-Mac-Computer.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/1-Installing-MAMP-on-a-Mac-Computer-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/1-Installing-MAMP-on-a-Mac-Computer-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once the download is finished, you will need to <strong>double click the downloaded file to start the installation<\/strong>. Next, <strong>simply follow the on-screen instructions<\/strong>. For the most part, you will just have to <strong>click on the <em>Continue<\/em> button and agree with the license agreement<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]When you get to the final window, <strong>click the <em>Close<\/em> button to finish the installation of MAMP<\/strong> on your device.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/2-Finish-the-installation-of-MAMP.jpg\" class=\"attachment-full size-full\" alt=\"Finish the installation of MAMP\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/2-Finish-the-installation-of-MAMP.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/2-Finish-the-installation-of-MAMP-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/2-Finish-the-installation-of-MAMP-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Please note that the download packet includes MAMP and MAMP Pro (paid version), so both will be installed on your computer. So, when you proceed to launch MAMP after the installation you need to <strong>make sure to open and use the free version<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You can do that by going to <strong>Applications &gt; MAMP folder<\/strong> on your computer.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/3-MAMP-folder-on-your-computer.jpg\" class=\"attachment-full size-full\" alt=\"MAMP folder on your computer\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/3-MAMP-folder-on-your-computer.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/3-MAMP-folder-on-your-computer-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/3-MAMP-folder-on-your-computer-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]After opening the MAMP folder, <strong>find the elephant icon<\/strong> within and click it <strong>to start the MAMP application<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/4-MAMP-application.jpg\" class=\"attachment-full size-full\" alt=\"MAMP application\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/4-MAMP-application.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/4-MAMP-application-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/4-MAMP-application-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]*Bonus tip[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Before continuing further, we wanted to mention that there are <strong>a few changes to MAMP settings you can make now so working in MAMP will be easier for you in the long run<\/strong>. The first of those changes is <strong>switching the Apache port<\/strong>. Open the Preferences menu under MAMP and then click on the ports tab.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>In the field for the Apache port, type in 80, and then click OK to save the change<\/strong>. Alternatively, you can press the button with <em>Set Web &amp; MySQL ports to 80 &amp; 3306<\/em> to change the Apache port along with the MySQL port.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]By changing the Apache port to 80 you will be able to access your local websites using <strong>http:\/\/localhost<\/strong> as the link instead of <strong>http:\/\/localhost:8888<\/strong>. However, this also means that <strong>each time you start MAMP servers, you will have to provide the admin password for your device<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Another thing you can change to make the user experience better is to pick the root directory for your documents. This is where your local websites will be stored. The default location MAMP uses the is <strong>\/Applications\/MAMP\/htdocs\/<\/strong> folder. However, you can easily change that if you want. Navigate to the Preferences menu, click on the <strong>Web Server tab<\/strong>, and then <strong>Select<\/strong> a folder that you will have easy access to for installing MAMP. This will help you in the long term because you will be keeping all your site files within MAMP&#8217;s subdirectory htdocs. <strong>Ideally, you should store each of your websites in a new folder within that subdirectory<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]On our end, we\u2019re going to keep the default file path.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/5-Keep-the-default-file-path.jpg\" class=\"attachment-full size-full\" alt=\"Keep the default file path\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/5-Keep-the-default-file-path.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/5-Keep-the-default-file-path-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/5-Keep-the-default-file-path-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;60px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/6-Store-each-of-your-websites-in-a-new-folder.jpg\" class=\"attachment-full size-full\" alt=\"Store each of your websites in a new folder\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/6-Store-each-of-your-websites-in-a-new-folder.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/6-Store-each-of-your-websites-in-a-new-folder-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/6-Store-each-of-your-websites-in-a-new-folder-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you\u2019ve adjusted these options to fit your preferences, you can proceed with installing WordPress locally by starting the server. Click the <strong>Start Servers<\/strong> button within the MAMP application window. If you changed the Apache Port to 80 earlier, you will be prompted to enter your computer\u2019s admin password.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/7-Start-Servers-button-within-the-MAMP-application-window.jpg\" class=\"attachment-full size-full\" alt=\"Start Servers button within the MAMP application window\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/7-Start-Servers-button-within-the-MAMP-application-window.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/7-Start-Servers-button-within-the-MAMP-application-window-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/7-Start-Servers-button-within-the-MAMP-application-window-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;79px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"downloading-the-wordpress-files\"><\/a>Downloading the WordPress Files<\/h3>\n<p>[\/vc_column_text][vc_column_text]Now that MAMP is installed and working, we need to add WordPress to the localhost website. <strong>Download the latest version of WordPress<\/strong> from the <a href=\"https:\/\/wordpress.org\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">official website<\/a> by clicking <strong>the Download WordPress button<\/strong> in the middle of the screen. At the time the article was written the latest version was 5.3.2, so yours might differ.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/05\/29-Download-WordPress.jpg\" class=\"attachment-full size-full\" alt=\"Download WordPress\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/05\/29-Download-WordPress.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/05\/29-Download-WordPress-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/05\/29-Download-WordPress-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once the download is complete you will have to<strong> navigate to the folder where you have installed MAMP and access the htdocs subfolder within it<\/strong>\u2014in our case, we used the default path <strong>\/Applications\/MAMP\/htdocs\/<\/strong>. If this is different for you, navigate to the folder you previously specified for MAMP and then access the <strong>htdocs<\/strong> subfolder. You should <strong>create a new folder for your site here<\/strong>. As mentioned previously, you should store each of your website files in a new folder within the htdocs directory. <strong>This folder\u2019s name will become part of the URL used to access your site<\/strong>. For example, if you name the folder <strong>mysite<\/strong>, you\u2019ll access your site by going to <strong>http:\/\/localhost\/mysite<\/strong> within your preferred browser.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/8-Extract-the-contents-of-the-WordPress-installation.jpg\" class=\"attachment-full size-full\" alt=\"Extract the contents of the WordPress installation\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/8-Extract-the-contents-of-the-WordPress-installation.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/8-Extract-the-contents-of-the-WordPress-installation-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/8-Extract-the-contents-of-the-WordPress-installation-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you have created the folder, <strong>open it, and extract the contents of the WordPress installation<\/strong> file that you downloaded earlier within it.[\/vc_column_text][vc_empty_space height=&#8221;81px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_separator color=&#8221;custom&#8221; accent_color=&#8221;#f0f0f0&#8243;][vc_empty_space height=&#8221;50px&#8221;][vc_widget_sidebar sidebar_id=&#8221;top-picks-banner&#8221;][vc_empty_space height=&#8221;28px&#8221;][vc_separator color=&#8221;custom&#8221; accent_color=&#8221;#f0f0f0&#8243;][vc_empty_space height=&#8221;84px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"creating-a-database-for-wordpress\"><\/a>Creating a Database for WordPress<\/h3>\n<p>[\/vc_column_text][vc_column_text]Open <strong>your browser<\/strong> and <strong>navigate<\/strong> to <a href=\"http:\/\/localhost\/MAMP\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/localhost\/MAMP\/<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/9-Creating-a-database-for-WordPress.jpg\" class=\"attachment-full size-full\" alt=\"Creating a database for WordPress\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/9-Creating-a-database-for-WordPress.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/9-Creating-a-database-for-WordPress-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/9-Creating-a-database-for-WordPress-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Click on the <strong>TOOLS<\/strong> tab, followed by a click on the <strong>PHPMYADMIN<\/strong> option from the dropdown menu.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/10-Phpmyadmin-option.jpg\" class=\"attachment-full size-full\" alt=\"Phpmyadmin option\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/10-Phpmyadmin-option.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/10-Phpmyadmin-option-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/10-Phpmyadmin-option-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The phpMyAdmin is a web-based application used for the administration and management of MySQL databases. When you open it, you need to <strong>click on <em>Databases<\/em> and then <em>create a new database<\/em><\/strong>. You can name this database anything you want, but <strong>make sure to remember the name because you\u2019ll need it in the next step<\/strong>. We will name our database <em>mydb<\/em>. Additionally, <strong>make sure to choose <em>Collation<\/em> from the dropdown<\/strong> before clicking the Create button.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/11-Create-a-new-database.jpg\" class=\"attachment-full size-full\" alt=\"Create a new database\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/11-Create-a-new-database.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/11-Create-a-new-database-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/11-Create-a-new-database-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And that\u2019s it\u2014you now have a database for your site.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"via-the-on-screen-installer-in-the-browser\"><\/a>Installing WordPress Locally via the On-Screen Installer in the Browser<\/h3>\n<p>[\/vc_column_text][vc_column_text]After creating the database,<strong> open your browser<\/strong>, and navigate to <a href=\"http:\/\/localhost\/mysite\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/localhost\/mysite\/<\/a> to start the WordPress installation. The first thing you\u2019ll have to do is <strong>choose the language<\/strong> you will be using.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/12-Installing-WordPress-locally-via-the-on-screen-installer-in-the-browser.jpg\" class=\"attachment-full size-full\" alt=\"Installing WordPress locally-via-the-on-screen installer in the browser\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/12-Installing-WordPress-locally-via-the-on-screen-installer-in-the-browser.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/12-Installing-WordPress-locally-via-the-on-screen-installer-in-the-browser-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/12-Installing-WordPress-locally-via-the-on-screen-installer-in-the-browser-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]On the next screen, WordPress will list the required information you need to complete the installation. <strong>Click on the <em>Let\u2019s go<\/em> button<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Connecting-your-database.jpg\" class=\"attachment-full size-full\" alt=\"Connecting your database\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Connecting-your-database.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Connecting-your-database-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Connecting-your-database-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then you will be asked to enter your WordPress database information. Here you should<strong> enter the following information exactly<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;23px&#8221;]<ul class=\"qodef-unordered-list-item \">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Database Name<\/strong> = name of the database you created in phpMyAdmin (ours is called mydb)<\/span>        <\/div>\n            <\/li>\n<\/ul><ul class=\"qodef-unordered-list-item \">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Username<\/strong> = root<\/span>        <\/div>\n            <\/li>\n<\/ul><ul class=\"qodef-unordered-list-item \">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Password<\/strong> = root<\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_column_text]<strong>You can leave the last two fields as they are.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/13-Leave-the-last-two-fields-as-they-are.jpg\" class=\"attachment-full size-full\" alt=\"Leave the last two fields as they are\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/13-Leave-the-last-two-fields-as-they-are.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/13-Leave-the-last-two-fields-as-they-are-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/13-Leave-the-last-two-fields-as-they-are-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you click <strong>Submit<\/strong> you will be able to see a notification stating that the first part is through. Clicking on <strong>the <em>Run the installation<\/em> button<\/strong> will start the famous <strong>five minute WordPress installation process<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/23-Run-the-installation.jpg\" class=\"attachment-full size-full\" alt=\"Run the installation\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/23-Run-the-installation.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/23-Run-the-installation-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/23-Run-the-installation-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]When the installation is done, <strong>you will need to fill in the <em>Information needed<\/em> form<\/strong>, and click <strong>the <em>Install WordPress<\/em> button<\/strong> at the bottom. You don\u2019t have to tick the checkbox to <em>Discourage search engines<\/em> <em>from indexing this site<\/em> as search engines can\u2019t index a site made in a local environment.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/Enter-the-same-username-and-password.jpg\" class=\"attachment-full size-full\" alt=\"Enter the same username and password\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/Enter-the-same-username-and-password.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/Enter-the-same-username-and-password-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/Enter-the-same-username-and-password-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]After WordPress has been installed, a Success! message will appear. <strong>Click on the <em>Log In<\/em> button to proceed to the login page<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/14-Proceed-to-the-login-page.jpg\" class=\"attachment-full size-full\" alt=\"Proceed to the login page\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/14-Proceed-to-the-login-page.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/14-Proceed-to-the-login-page-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/14-Proceed-to-the-login-page-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Now you need to <strong>insert the username and password<\/strong> you chose earlier and press the Log In button once more.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/04\/1-Log-In-button.jpg\" class=\"attachment-full size-full\" alt=\"Log In button\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/04\/1-Log-In-button.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/04\/1-Log-In-button-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/04\/1-Log-In-button-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]After successfully logging in, you should see the dashboard panel which concludes the installation process.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/15-Dashboard-panel-which-concludes-the-installation-process.jpg\" class=\"attachment-full size-full\" alt=\"Dashboard panel which concludes the installation process\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/15-Dashboard-panel-which-concludes-the-installation-process.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/15-Dashboard-panel-which-concludes-the-installation-process-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/07\/15-Dashboard-panel-which-concludes-the-installation-process-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can now proceed to work on your site using a local environment. Please note that when you want to work on your site, <strong>MAMP must be running in order for localhost to work<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Final Thoughts<\/h2>\n<p>[\/vc_column_text][vc_column_text]As you\u2019ve seen, installing WordPress locally on Mac using MAMP requires only a few steps and can be completed in a short amount of time. Using MAMP for WordPress will let you work on your site in a safe and controlled environment. You will be able to practice your WordPress skills, develop sites for clients, test tricky changes, and much more. Overall, this is a very valuable asset for creating stunning websites quickly as well as maintaining the functionality of existing websites. So, whatever you aim to do with your website and MAMP, we hope that you found this tutorial helpful and will use it in the future.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install WordPress on Mac using MAMP so you can develop sites locally in a safe testing environment.<\/p>\n","protected":false},"author":11229,"featured_media":9601,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[14,4,13],"class_list":["post-9583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-core","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/9583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/11229"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=9583"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/9583\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/9601"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=9583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=9583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=9583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}