Sunday, September 14, 2008

MySQL and Apache

Wow... so I was having issues installing WordPress on my local testing machine. Ran across an error saying that MySQL wasn't setup correctly and that WordPress needed it. Took me a while but I did eventually find a solution on a message board. Here they be:

These were the steps which I followed to install Wordpress without it resulting in that nasty error message.

  1. Install Apache

  2. Install My-SQL. Note: in Wordpress' installation instructions this step comes after PHP installation. However, I read somewhere someone suggesting to install PHP after My-SQL. Don't know if this was the determining factor, but it was the way I took.

  3. Install PHP. Here is were I think you'll make it or break it. When installing PHP,


    1. be sure to point to Apache's conf directory when asked where its configuration directory resides, don't just point to Apache's install directory,

    2. when asked which items to install, navigate down into Extensions and select MySQL and MySQLi. By default, these won't be installed.


  4. Copy wordpress directory contents into Apache's htdocs directory (just my choice, but there are ofcourse other variations which will work).

  5. Restart Apache.

  6. navigate to http://localhost/wp-admin/install.php This time it should work.

So yeah... that's how it all works... or something like that. lol All in all, it worked out, and now I was able to install WordPress on my localhost without problem. And there you have it.

No comments:

Post a Comment

Ever feel like no one is listening?

 Ever have that feeling that no one is listening to you? Yeah, that feeling. It can be a strong feeling to have, a hurtful feeling also. The...