Installing Apache 1.x.x on Windows 9x
by Nathan Wallace
(Sep 29, 1999)
Installing Apache on Windows is really trivial. If you can't work it out yourself then you probably shouldn't be doing it.
I wrote these instructions because I couldn't be bothered trying to find the downloadable install files again the next time and to make my instruction sets more complete.
- Make a directory, c:\tmp
- First we must download the Apache distribution. You can use the latest distribution, or follow these instructions letter for letter with Apache 1.3.9.
- Save the Apache binary into the directory c:\tmp
- Open Windows Explorer from your Start Menu.
- Go to the c:\tmp folder.
- Double click on the apache binary file, apache_1_3_9_win32.exe or equivalent.
- Hit Next to start the installation.
- Accept the license agreement (as usual, don't bother actually reading it).
- Read the warning carefully. If you are setting up a production server, stop now and use Apache for Linux instead. If your boss is making you use windows I suggest you show them this warning.
- I accepted the default installation directory, C:\Program Files\Apache Group\Apache.
- Choose custom installation just so we can see what it's actually installing.
- I installed everything since I've got disk space to burn. Hit Next.
- Accept a new Apache Folder being created, unless you have an extremely sophisticated start menu system setup already...
- Pray that windows doesn't blow up while you are in the middle of installing the files.
- Don't bother reading the readme since it mostly contains information that you needed to know before installing anyway...
- On some computers you may need to specify the server name in the Apache configuration file. In many cases Apache can determine the name automatically.
- When I need to specify the name I just call the machine localhost, changing the ServerName directive on line 232 of the httpd.conf file. You will also need to uncomment this line by removing the hash at the start.
Checking it works
- To start Apache, go to Start Menu -> Programs -> Apache Web Server.
- Choose Start Apache.
- You can check that everything worked by just opening a browser and going to the URL http://localhost.
- If you see a page that says "It Worked!", then obviously, it worked.
- If everything is stuffed then I suggest you try the standard Microsoft techniques, reboot, and then re-install Apache, and then re-install everything. If it still doesn't work, something really weird is going on and I don't know enough to help you any more...