Support » Localhost Installs » Struggling with local installation (Mac)

  • Hi,
    I’m trying to install WP locally on my Mac. Here’s what I’ve managed:
    * I’ve got MAMP installed successfully and created a mySQL database called wordpress.
    * Downloaded and unzipped WP.
    * I wasn’t sure where WP needed to go as Codex offered two options, so have uploaded in both /Users/USERNAME/Sites/wordpress/ AND (renamed wordpresstest) in the MAMP/htdocs folder.
    * Visited http://localhost:8888/MAMP/ and there is my wordpress database with nothing in it.

    Here’s where I’m stuck:

    Lastly, we’ve got to run WordPress’ famous 5-minute install. Visit your local site (localhost:port or localhost:port/wordpress), and enter the following information into the database setup form:
    Database Name: wordpress
    User Name (database): root
    Password (database): root
    Database Host/server: localhost
    Table Prefix: wp_

    I can’t find the database setup form. And, when I go to http://localhost:8888/wordpresstest I get a 404.

    I know there’s something big I’m not getting here – can anyone help me?

    Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • If you are getting a 404, it mostly means that the WP folder is not in the document root or it is not in the same name as the folder name you specified in your url, in your case wordpresstest.

    May be this tutorial will help you.

    Thanks so much for the advice 🙂

    I have all of my sites on my Mac before the live server. I use a Terminal utility called found here.

    I can visit my browser http://TestSite or whatever you name it… http://ExampleWP

    No suffix and your browser will visit your truly ‘local’ site. I use this to copy my live sites for back up. All of my sites are located in
    /Users/username/Sites/ folder…


    Thanks Brayne 🙂

    start mamp app
    set ‘preferences’:
    preferences – apache (document root) to /Applications/MAMP/htdocs/wordpress
    preferences – ports to 8888 (apache); 8889 (sql)
    save ‘preferences’
    make sure both apache and sql are running

    download and install wordpress
    create new folder named wordpress off application/mamp/htdocs
    copy wordpress files to htdocs/wordpress

    open ‘start page’ in mamp
    click phyMyAdmin
    create new database

    i didn’t see anything until i typed http://localhost:8888 in my browser.
    next – says ‘need wp-config.php file – follow the steps.

    i used the tutor in prior post—this last step in bold is what made it work for me.
    hope it helps.

    Thanks so much for all the advice. I’ll try this out asap and report back 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Struggling with local installation (Mac)’ is closed to new replies.