WordPress.org

Ready to get started?Download WordPress

Forums

Struggling with local installation (Mac) (7 posts)

  1. Pedalkraft
    Member
    Posted 9 months ago #

    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!
    Beth

  2. Saravanan
    Member
    Posted 9 months ago #

    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.

  3. Pedalkraft
    Member
    Posted 9 months ago #

    Thanks so much for the advice :)
    B

  4. Brayne
    Member
    Posted 9 months ago #

    I have all of my sites on my Mac before the live server. I use a Terminal utility called virtualhost.sh found here. http://patrickgibson.com/utilities/virtualhost/

    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...

    /Users/username/Sites/TestSite
    /Users/username/Sites/ExampleWP

  5. Pedalkraft
    Member
    Posted 9 months ago #

    Thanks Brayne :)

  6. ksarm
    Member
    Posted 9 months ago #

    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.

  7. Pedalkraft
    Member
    Posted 9 months ago #

    Thanks so much for all the advice. I'll try this out asap and report back :)

Reply

You must log in to post.

About this Topic