Forums

WordPress localhost on Mac 10.6 (18 posts)

  1. bartpop
    Member
    Posted 2 years ago #

    I'm working on my first wordpress install on a local machine running Mac 10.6 snow leopard. So far I've been through every post I can find on installing WordPress on a Mac but I've yet to see any post with the same error message. Here are the details:

    Mac OS 10.6.1 Snow Leopard
    PHP 5.3.0 (php.ini date.timezone set to America/Los_Angeles)
    MySQL 5.1.38 x86_64 bit installed and running

    I installed wordpress in my web directory but when I try to browse: wordpress/wp-admin/install.php I keep getting the following error;

    "Got packets out of order"

    Anyone know what this means or how to fix it? Thanks.

  2. Samuel B
    moderator
    Posted 2 years ago #

  3. bartpop
    Member
    Posted 2 years ago #

    Looks like I'm missing a key piece of the puzzle. I'll get MAMP installed and take it for a test drive. Thanks for the quick response.

  4. bartpop
    Member
    Posted 2 years ago #

    I just spent a little time working on this and was wondering: is MAMP
    necessary to set up wordpress locally on a Mac? It looks like it wants to use it's applications/MAMP/htdocs folder as the root folder and move my database files as well. I'd rather keep everything in their original locations.

    Has anyone set up WordPress locally without using MAMP?

  5. Samuel B
    moderator
    Posted 2 years ago #

    can't be done

  6. bartpop
    Member
    Posted 2 years ago #

    Actually, I just got it working without MAMP. The trick was setting the DB_HOST in the wp-config.php file to: 127.0.0.1:3306

    Using "localhost", "localhost:3306" or "127.0.0.1" didn't work but the above address fixed my problem. Hope this info helps someone else.

  7. Samuel B
    moderator
    Posted 2 years ago #

    if true,
    you need to write a how to for the codex

  8. bartpop
    Member
    Posted 2 years ago #

    There are very good detailed instructions here:

    Snow Leopard, Apache, PHP, MySQL and WordPress!

    Which cover the installation in detail. I added a post to include the wp-config.php settings above. That was the final step to get WP up-and-running on my local machine.

  9. ClaytonJames
    Member
    Posted 2 years ago #

    @bartpop

    MAMP is just an acronym for Mac, Apache, MySQL, PHP.

    M-AMP (mac) W-AMP (windows) L-AMP (linux)...

    If you have all three apps, (Apache, MySQL, PHP) you can run wordpress. The OS won't really matter. I think samboll may have been suggesting that if you got it to run without an Apache, MySQL, PHP "stack" in there somewhere, that you may have achieved a feat possibly worthy of great reward, and you should share your secrets with us immediately!

    :P

  10. bartpop
    Member
    Posted 2 years ago #

    I'll admit to being a WordPress noob :) The article referenced above describes MAMP as: "MAMP is an application you can install on your Mac which allows you to have access to a local PHP server and MySQL server."

    I checked out the MAMP app available through the link on that page, but didn't want to move my database and website docs.

    Just happy to get it working in the end and hoping I can save someone time in the future. Cheers.

  11. Samuel B
    moderator
    Posted 2 years ago #

    :>) exactly Clayton

    I am really glad you got it working

  12. songdogtech
    Member
    Posted 2 years ago #

    Can't be done? MySQL, PHP and Apache are already installed under OS X

    I run multiple WP installs locally under OS X without MAMP with just
    define('DB_HOST', 'localhost'); in wp-config.

    I installed the MySQL prference pane to start and stop the MySQL server, and use PHPMyAdmin to admin the database as root. Just give each WP install a different database. The 3306 in 127.0.0.1:3306 is the MySQP port number, but isn't needed in wp-config

  13. Samuel B
    moderator
    Posted 2 years ago #

    Can't be done? MySQL, PHP and Apache are already installed under OS X

    then you already have mamp :>)

  14. songdogtech
    Member
    Posted 2 years ago #

    True, MAMP by another name; MAMP without the MAMP installer.

  15. ClaytonJames
    Member
    Posted 2 years ago #

    I tried that MAMP installer once. I'm pretty sure it gave me the MUMPs. No, maybe it was just a toothache, but I forget. It was so long ago. Then, there was this one time that I installed LAMP, and that left me with a big LUMP. (on my shin - I banged it on the corner of the server case in the dark while getting a glass of water at 2:00 am.) Then I tried that WAMP installer-thing on a Windows OS? Yep'- you guessed it. My co-workers repeatedly informed that the mere suggestion of the use of a WAMP installer could elevate my WIMP levels substantially. Well, needless to say... I need no additional assistance with that!

    So. "What's my point?" ...ask you? I leave you with three of my favorite quotes;

    1) “Named must your fear be, before banish it you can.”

    -Jedi Master Yoda, Star Wars Trilogy

    2) ” Once you start down the dark path, forever will it dominate your destiny, consume you it will.”

    -Jedi Master Yoda, Star Wars Trilogy

    3) "view the source, Luke!"

    -whooami

    jebus, that still makes me laugh out loud. I think I have dain bramage or something.

    </uncontrollable spew>

    :P

  16. Samuel B
    moderator
    Posted 2 years ago #

    that is priceless Clayton

  17. Ezmoo
    Member
    Posted 2 years ago #

    I had major problems with installing MAMP and WordPress on Mac OS X Snow Leopard. I was migrating from one MacBook Pro to a new one. As a web designer I had a lot of sites on my local system and needed to migrate them across to the new laptop. The pressure was on because my company wanted me to continue working as normal, install the new laptop and hand the old laptop as soon as possible to be given to a new person quietly waiting for it on the other side of the office. As he did not even have a system to surf the internet I would class this as extreme pressure.

    Installing MAMP was super easy, but installing WordPress databases and installations was a nightmare. In the end I had to result to separate databases all using the root user for access.

    I detailed the whole process on my blog: Mac OS X Snow Leopard: Install Local WordPress using MAMP if your interested. I keep having this same problem with MAMP.

    If anyone can solve the issue of local host usernames on MAMP's mysql I would really love to know it.

  18. dompenrice
    Member
    Posted 1 year ago #

    Please can any one help? I have wordpress running on my mac with MAMP I want another user on my network to access the wordpress admin and site.

    I have sharing turned on and details to my computer's ip address.

    The other computer is able to get on to my computer via it and see other sites in the sites directory that I created with Iweb but when they try to see the word press folder where I have my word press directory in the sites directory they get a listing of what's in that folder instead of the site which is what I get if I access the site via http://localhost:8888/ on the mac running the site

    I have set MAMP's preference - root documents to point at the WP folder in my sites folder. But it doesn't seem to work.

    I too get the same when I go via ip address that's displayed in sharing.

    The purpose is so that two or more computer can access wordpress and publish into the site while I'm building the site.

    Any help would be much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic