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


Before we get started, we need to download all the appropriate components. Depending on what your goal is, you may only require a subset. Each section of the guide also includes what components are required so you can skip this page if you want. I recommend using the latest versions of all the software. The versions this guide uses are also documented.


Version: Windows XP SP2

This guide was written for Windows XP. However, it should work fine with Windows 2000. If you're using Windows 2000, remember to replace C:\WINDOWS with C:\WINNT wherever you see it in this guide.


From the Apache HTTPD download page, download the latest Win32 Binary (MSI Installer). The latest version should be under a section titled "the best available version".

Version: 2.2.3
File Name: apache_2.2.3-win32-x86-no_ssl.msi
Download Location:


On the PHP download page, click on the zip package under the Windows Binaries section. Choose a mirror to begin downloading.

Version: 5.1.6
File Name:
Download Location:

To get around a known bug with PHP 5.1 and Apache 2.2, you must also download a newer version of PHP.

Version: 5.2.0RC5-dev
File Name:
Download Location:


Java 2 Standard Edition

Visit and click the Download link next to Java Runtime Environment (JRE) 5.0 Update 8. Accept the license agreement and then download Windows Offline Installation, Multi-language (15.74MB).

Version: J2SE Runtime Environment 5.0 Update 8
File Name: jre-1_5_0_08-windows-i586-p.exe
Download Location:

Jakarta Tomcat

On the Jakarta Tomcat 5 Download page, click on the Windows Executable link for "Core" version 5.5.20 to begin downloading.

Version: 5.5.20
File Name: apache-tomcat-5.5.20.exe
Download Location:

Apache-Tomcat Connector

Download from Click on Tomcat Connectors (under "Download" on the left-hand side), and then click JK 1.2 Binary Releases. Under Win32, select jk-1.2.19 and find
Note: Don’t use mod_jk2. It has been deprecated.

Version: 1.2.19
File Name:
Download Location: /tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.19/


On the MySQL download page, click on "Pick a mirror" for the latest Windows (x86) version (34.9MB). Registering is optional, so just click "No thanks, just take me to the downloads!". Select a mirror to start downloading.

Version: 5.0.24a
File Name:
Download Location:

Note: If you plan on installing phpBB, I recommend using MySQL 4.1. There's a thread on the phpBB forum about installing with MySQL 5.0.x (Thanks to John H. for pointing it out).

Ruby on Rails

Download the "One-Click Installer" for Windows from

Version: 1.8.2-15
File Name: ruby182-15.exe
Download Location:


On the PHPMyAdmin homepage, click the zip link for the latest stable version. Choose a sourceforge mirror to begin downloading.

Version: 2.7.0-pl2
File Name:
Download Location:


On the MySQL Connector ODBC download page, click on "Pick a mirror" for the latest Windows Driver Installer (MSI). Select a mirror to start downloading.

Version: 3.51.11-2
File Name: MyODBC-3.51.11-2-win.msi
Download Location:


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

Version: 2.0
File Name:
Download Location: