Installing on Windows

The Apache HTTP server does not come preinstalled on Windows systems, so we need to go through a few steps to download and install it:

  1. In a browser, go to the Apache HTTP Server download page at http://httpd.apache.org/download.cgi and select the current stable release from the list.

  2. From the list of available packages, pick the Win32 binary download link (this example uses the “Win32 Binary including OpenSSL 0.9.8o” version).

  3. Once you’ve downloaded the package, double-click the .msi file to begin the installation. You can either go through the installation process with the default choices or modify paths and attributes as needed.

  4. Once you’ve installed the package, go to the HTTP server installation directory and then into the bin folder. Double-click the httpd.exe file to start the HTTP server.

You will now be able to go to http://localhost in a browser to view the default page for your server. Files for the server environment will be available in the /htdocs folder within the Apache HTTP server install directory.

Get Programming Social Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.