How to Install Apache, PHP and MySQL in Windows (Preparation)

12 September 2008

This article is the preceding article of

In this article you will learn about the preparation process to install Apache, PHP, MySQL, and PHPMyAdmin for computer running Windows operating system.

Installing Apache, PHP, MySQL and PHPMyAdmin will make you have a Linux-like web server in your Windows PC. After completing this setup you can test and develop your PHP scripts web applications and use many famous Content Management Systems (CMS) which using PHP and MySQL.

Who Need This

This article used for anyone who needs to install Apache 2.2.x, PHP 5.x and MySQL 5.0.x on computer with Windows operating system. This article created based on personal computer running Windows 2000 operating system but it should working similar with Windows NT 4 and Windows XP.

This article is also for you who do not want to rely on third party’s packages like XAMPP, EasyPHP or PHPTriad, which will installs the Apache, PHP, and MySQL using their default configurations.

Why Apache 2.2.x and PHP 5.x

Altough Apache 1.x, Apache 2.0.x, PHP 4.x and MySQL 4.1.x still available but the further development of them is already stopped.

Download Files

Before we do any actual installation steps, we do need download all the necessary files below.

Apache
You need to download the msi version of Apache 2.2.x for Windows at
http://httpd.apache.org/download.cgi

MySQL
Download MySQL 5.0.x for Windows using Windows Essentials (x86) package at
http://dev.mysql.com/downloads/mysql/5.0.html#win32

MySQL GUI Tools
Download MySQL GUI Tools using Windows (x86) package at
http://dev.mysql.com/downloads/gui-tools/5.0.html

PHP
You need to download the latest PHP version 5.x using Windows Binaries package at
http://www.php.net/downloads.php#v5

PHPMyAdmin
Download the zip package of PHPMyAdmin at
http://www.phpmyadmin.net/home_page/downloads.php

You should have Microsoft Windows Installer installed in your computer to running the msi files. This freeware should already installed by default if you running Windows XP or Windows Vista. For Windows 2000 and NT version you can click here to install and download.

Ready

After files downloaded then we are ready to do the actual Apache, MySQL, and PHP installation steps.

Next article: How to Install Apache 2.2 in Windows.