catssupport 290 Questions 307 Answers 7 Best Answers 0 Points View Profile 0 catssupport Asked: March 24, 2018In: Common Issues How to install WordPress on mac 0 install wordpress mamp Share Facebook 2 Answers Voted Oldest Recent catssupport 290 Questions 307 Answers 7 Best Answers 0 Points View Profile quyentracats15 Added an answer on April 23, 2019 at 4:25 pm How to install WordPress on mac Having WordPress installed locally is essential for being able to make sensitive development changes without having to worry that you’ll break a live site. If you’re trying to get out of the habit of cowboy coding, this is the first step! Install MAMP if you haven’t yet. If you already have MAMP, open it and click “Start Servers.” Download WordPress. (click to enlarge) Unzip your WordPress zip download and drag the folder into your “Sites” folder. (Or whatever folder you set up as the “Document Root” when you installed MAMP. Setting info is located under “Preferences > Web Server.” (click to enlarge) In MAMP, click “Open WebStart Page” which will open a MAMP page in your browser. (click to enlarge) In the MAMP browser window that pops up, select “phpMyAdmin” under the “Tools” drop-down. (click to enlarge) In phpMyAdmin, you’ll create new database for this WordPress installation. Click the “Databases” tab and create a new database by typing in a name — remember it for later — and clicking “Create”. (click to enlarge) In your browser, visit http://localhost:80/wordpress. (Assuming your MAMP is serving on port 80, and you put WordPress in the wordpress folder.) Select your language and click “Continue.” (click to enlarge) We know our database details and already created the database. So we’ll click “Let’s go!” on the next screen. (click to enlarge) Enter your database details and click “Submit”. Database Name: your database from step 6 (mine was "wphp") User Name: root Password: root Database Host: localhost Table Prefix: wp_ Click ‘Run the install”. (click to enlarge) Enter in the requested information: site title, username, password, and email. Because this is a local install and is only available on your computer, don’t have to worry too much about creating a secure password. Then click “Install.” (click to enlarge) You did it! Click “Log In”. You’ll be directed to the familiar WordPress login page, which should be located at http://localhost/wordpress/wp-login.php. Make sure you bookmark the URL so you can easily log in in the future. 0 Reply Share Share Share on Facebook Share on Twitter Share on WhatsApp catssupport 290 Questions 307 Answers 7 Best Answers 0 Points View Profile Tram Minh Added an answer on January 24, 2019 at 3:58 pm the simplest way to get started quickly is by using MAMP – an application specifically designed to give you all the ingredients of a local server on your Mac. WordPress needs two basic things to run: a web server running PHP, and a database. MAMP – short for Macintosh, Apache, MySQL and PHP – gives you all of this straight out of the box in one easy to install, downloadable package. Let’s get started. Download and Install MAMP Head on over to the MAMP website and download the standard free MAMP package. There’s also a premium version available in MAMP PRO, but the standard version is more than adequate for your initial needs and contains everything necessary for running WordPress locally. Once the package has downloaded, simply double-click on the MAMP disk image, drag the MAMP folder to your Applications folder and proceed as normally from there. If you find yourself getting stuck at any stage, consult the excellent installation overview on the MAMP site. You’re now free to start MAMP by launching MAMP.app, which should be located in /Applications/MAMP/MAMP.app. Configure MAMP Settings for WordPress After you’ve launched MAMP, there’s a little bit of prep work to be done prior to installing WordPress. Begin with ports. Click on Preferences, select Ports and then select Set Apache & MySQL ports to 80 & 3306. These are standard port settings for these services that you’ll also see on remote servers, so it’s a good idea to use them here. Now set your Document Root. This is where your web files reside on your computer and what Apache uses to serve them. By default this will be located in the MAMP Application directory at /Applications/MAMP/htdocs, but you’re free to change it to wherever is most convenient for you. A local Dropbox folder, for example. At this point, fingers crossed, everything should be working smoothly. Check back on the MAMP launch screen and check if services are running by looking for small green squares at the top right of the screen. If they are not running, hit Start Servers. Now click Open start page and you should be looking at a version of the screen below. This is a local web page giving basic information about MAMP and its components. It’s being served directly from your hard drive by Apache. Setting Up Your Database Now let’s create our first database. MAMP comes with phpMyAdmin (a convenient and powerful tool for managing MySQL databases) installed as standard, so we’ll be using that. You’ll also find phpMyAdmin installed as standard on many remote hosting environments, so getting used to working with it locally is a great way to brush up your skills in a safe setting. We need to do two things: create a database for our WordPress install to use, and create a user for that database with the appropriate privileges. Begin by opening up the Tools menu on the MAMP welcome page and launching phpMyAdmin. Now click on the Databases tab, enter the name of your database in the Create database field and click Create. Use a UTF-8 collation such as utf8_unicode_ci to avoid issues with character encoding down the line. Now navigate to the Users tab, click Add user, enter a name and secure password and set the host to local. Then return to the Users tab, select Edit privileges on the user you just created, click Check all and save. We’re assuming here that this database will only be used locally and by yourself. Make a note of the database name along with the user name and password. You’ll be entering them again shortly. If you run into difficulties at this stage, head on over to the WordPress guide to using phpMyAdmin and troubleshoot from there. 0 Reply Share Share Share on Facebook Share on Twitter Share on WhatsApp Leave an answerLeave an answerCancel reply Click on image to update the captcha. Save my name, email, and website in this browser for the next time I comment.