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:
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.
From the list of available packages, pick the Win32 binary download link (this example uses the “Win32 Binary including OpenSSL 0.9.8o” version).
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.
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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access