Install & Configure Apache, PHP, JSP, Ruby on Rails, MySQL, PHPMyAdmin & WordPress on Windows XP/2000

WordPress

Prerequisites

WordPress requires PHP and MySQL. On the WordPress download page, click on "Download .zip".

Version: 2.0
File Name: wordpress-2.0.zip
Download Location: http://wordpress.org/download/

WordPress 1.5.2 installation instructions are also available.

Install

  1. Unzip wordpress-2.0.zip to your DocumentRoot directory.

    Note: If you want the WordPress blog to be the main site, put the contents of the "wordpress" directory directly into the DocumentRoot directory. Otherwise, create a subdirectory. For this guide, we put into C:\Program Files\Apache Group\Apache2\htdocs\wordpress

    Unzip wordpress
  2. We need to create a database for WordPress to use.
    1. Open http://localhost/phpmyadmin.
    2. Enter a database name (e.g. "wordpress") and click Create.
      create new database
    3. Click the "Home" icon (home icon), and then click Privileges .
    4. Click Add a new User Add a new User.
    5. Fill in the login information and then click Go (scroll down to find the Go button).

      Note: This user will be wordpress itself. I use "wordpress" as the user name.

      Fill in the information
    6. Under "Database-specific privileges", select wordpress from the dropdown.
      select wordpress
    7. Click "Check All", and then click Go.
      Click Check All, and then click Go.
  3. In the wordpress directory, create a copy of the wp-config-sample.php file and rename it to wp-config.php. Make the following changes:

    Line 4 - This is the same username you just created above.
    define('DB_USER', 'wordpress');

    Line 5 - This is the password used.
    define('DB_PASSWORD', 'password');

  4. Open http://localhost/wordpress/wp-admin/install.php. Click First Step ».

    Click First Step >>

    Note: If you get an error "Your PHP installation appears to be missing the MySQL which is required for WordPress.", try the following:

    Open C:\php\php.ini and make the following changes, and then restart Apache.

    Line 647
    extension=php_mysql.dll

    Line 743
    mysql.default_host = localhost

    Line 746
    mysql.default_user = root

  5. Enter your blog title and your e-mail address, and then Click Continue to Second Step ».
    Click Continue to Second Step >>
  6. The next screen will give you a default password for the admin account. Remember this password!
    Password

Test

  1. Visit http://localhost/wordpress/wp-login.php. Login with "admin" and the password given above.
    Login
  2. You should see the Dashboard.

    Note: You can always return to the dashboard by visiting http://localhost/wordpress/wp-admin/.
    WordPress Dashboard

Configuration

There are almost unlimited configuration options for WordPress. From the Dashboard, click on the Options page to see for yourself. Here's some things I recommend at a minimum.