installing wordpress on a Mac using MacPorts

Note to self: when setting up mysql on a Mac using MacPorts (formerly Darwin Ports), install mysql with the following:


% sudo port install mysql5 +server

That bloody little “+server” part was a royal pain in the ass, let me tell you.
I would think that mysql installs would be servers by default.
There should instead be a special “+client” flag to prevent server installation!
Egad.

Oh, and for some reason, the wp-config.php did not like the host name localhost.
Instead, use 127.0.0.1.

Published by

rae

Mac developer

5 thoughts on “installing wordpress on a Mac using MacPorts”

  1. Hey – just about to do this myself – was trying to install mephisto and apache 2– got all that up and running except for the mongrel_cluster working with apache.

    Now I actually want to install wordpress instead; if I’ve got apache2, mysql5 installed fine, what else do I have to do wtih wordpress?

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

This site uses Akismet to reduce spam. Learn how your comment data is processed.