The first step is to download the "Win32 Binary (MSI Installer)" from the Apache Software Foundation's website at http://httpd.apache.org/download.cgi. At the time this was
written last updated, 2.2.15 was the latest, stable release. The file was named:
apache_2.2.15-win32-x86-no_ssl.msi. Make sure you save the file to a location on your hard drive where you can locate it.
Once you've been developing Drupal modules for any length of time you find that you need to test code on multiple versions of Drupal. The easiest way to do this is have separate Drupal releases running as virtual hosts. In this guide I'll walk though setting up Apache virtual hosts for Drupal 5 and Drupal HEAD. I'm assuming you're running Windows 2000 or greater and that you've already gotten Apache, MySQL and PHP setup and running on your local machine.
To run the website, we'll install a database, webserver and scripting language. You'll need to install the following ports and their dependencies:
- databases/mysql51-server - MySQL server
- www/apache22 - Webserver
- lang/php5 - PHP
This HOWTO walks you through the process of building a FreeBSD server to put a radio station on the internet. When you're finished you'll have a:
- Apache2 web server
- MySQL 5 database server
- Icecast2 MP3 webstream
- Drupal based website with:
- Program schedule
- MP3 Archive of broadcasts
This is the setup pioneered for use by KPSU, a college radio station in Portland Oregon, to stream and archive our broadcasts on the internet. I've released the code as the Drupal Audio and Station modules. You can find a list of some of the websites using the Station module.
All the software is free and open source. The only thing you've got to pay for is your time and hosting. While the details are FreeBSD specific, the general setup can be used for any UNIX like OS.
First, setup FreeBSD, use the handbook for that. Sorry to be so vague on details but that part of the setup is going to vary greatly depending on your hardware. The handbook will do a better job of explaining it than I could hope to do.
Once you've got a running server, start making your way through the following pages: