Sometimes is a little complicated work online with wordpress maybe because we are testing new features, plugins or improvements, or simply we are develop a new theme.

In my case a use a great application to run my wordpress locally and this is MAMP. Let see how to install and run wordpress in our MAC OSX.

Step 1

Go to http://mamp.info/en/index.html and dowload the latest version. After that just double click to begin to install MAMP.

wordpress-mamp-1

Step 2

When it will finish the installation you can find it under Applications > Mamp folder just click over the icon application to begin run the Apache and MySQL servers and you will see a little window and automatically run your internet browser with a start page server details.

wordpress-mamp-2

Step 3

Now we must download the latest version of wordpress so go to http://wordpress.org download it and unzip the content under htdocs.

wordpress-mamp-3

Step 4

Create a new database, so go to start page and click over phpMyAdmin and then just type a name for your database.

wordpress-mamp-4

Step 5

After that go to Applications > Mamp > htdocs and open to edit wp-config.php and configure your database based in your localhost the database name, user, password and host like the follow image

wordpress-mamp-5

Step 6

Open in your browser http://localhost:8888/mysite/wp-admin/install.php and that’s it you will see the wordpress setup page.

Conclusion

As you can see is fast to install our personal web server to test or develop wordpress themes, I hope you this will help you. See you!

  • jake
    Hi, I'm trying to install wordpress in my mac, but I got stuck at step 5 because wp-config.php doesn't show in my finder menu after Applications > Mamp > htdocs.
    Can someone help?
  • Hi Jake,
    When you unzip all content of wordpress just copy and go Applications > Mamp > htdocs and then create a new folder (this name is the name of your blog Example - http://localhost:8888/labs/) and paste it.

    After that find the wp-config.php inside this folder. Example - Applications > Mamp > htdocs > labs > wp-config.php
  • Lars Gustafsson
    HI,

    Do you have a nice tutorial for how to set up a Wordpress MU locally?
    That would really be great!

    /Lars
  • Stephen
    Hi, I have set up my WordPress blog locally and would like to know how to make it accessable for others. Whenever I set the blog address to anything other than http://localhost:8889 I lose my blog and have to start again.

    How do I give my blog an address?

    Stephen
blog comments powered by Disqus