Apache Installation

Apache Download (2.0) http://httpd.apache.org/download.cgi

Apache Docs (2.0) http://httpd.apache.org/docs/2.0/

Apache for MS Windows http://httpd.apache.org/docs/2.0/platform/windows.html

Run the Apache .msi file you downloaded above. The installation will ask you for these things:

NOTE: Install to C:\Apache2

NOTE: Make sure path to Apache is set in Windows environment


PHP Installation

PHP Downloads (5.0) http://www.php.net/downloads.php

PHP Documentation for Windows Installation -- http://www.php.net/manual/en/install.windows.php

  1. Extract files to C:\php
  2. Add this to your WINDOWS Path
  3. Set up php.ini file from php-ini_recommended

    DISPLAY_ERRORS ON

  4. Edit Apache http.conf file - add the following lines:
    # For PHP 4 do something like this:
    LoadModule php4_module "c:/php/php4apache2.dll"
    # Don't forget to copy the php4apache2.dll file from the sapi directory!
    AddType application/x-httpd-php .php
    
    # For PHP 5 do something like this:
    LoadModule php5_module "c:/php/php5apache2.dll"
    AddType application/x-httpd-php .php
    
    # configure the path to php.ini
    PHPIniDir "C:/php/"
    

    Note: The PHP files should go in the htdocs directory

  5. Edit the php.ini
    doc_root = c:\Apache\htdocs // for Apache
    

MySQL Installation

The best place to start is the MySQL home page. But try to avoid www.mysql.com, instead you want to start at the developer's site (http://dev.mysql.com).

Download MySQL 5.0 Community Edition http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-essential-5.0.16-win32.msi/from/pick#mirrors

Note: Not the essential version

MySQL Documentation HTML -- http://dev.mysql.com/doc/refman/5.0/en/index.html

MySQL Windows Installation

  1. Run the Installation Wizard
  2. Install to C:\mysql
  3. Pick the Standard configuration
  4. Server type installation
  5. Multifunctional db usage
  6. Pick a root password

Post Installation --
To configure the client and utility applications, create a new my.ini file in the C:\Windows or C:\WINNT directory as is applicable to your Windows version.

Creatinging and using a database --
http://dev.mysql.com/doc/refman/5.0/en/database-use.html
http://dev.mysql.com/doc/refman/5.0/en/windows-installation.html

For managing your database, you might find it easier to use a GUI database client. I can recommend two free ones:
MySQL Administrator (aka MySQL control center)
PHPMyAdmin