{"id":2429,"date":"2018-06-14T15:30:38","date_gmt":"2018-06-14T15:30:38","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=2429"},"modified":"2025-01-17T05:42:51","modified_gmt":"2025-01-17T05:42:51","slug":"download-install-apache-http-server-on-windows","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/download-install-apache-http-server-on-windows\/","title":{"rendered":"Install Apache HTTP Server on Windows [ 2024 ]"},"content":{"rendered":"<h2>Install Apache HTTP Server on Windows<\/h2>\n<p>Apache HTTP Server is the most popular open-source HTTP server available online. This page will teach us how to download and install it on the Windows operating system.<\/p>\n<p>Apache HTTP Server is web server software developed and maintained by the Apache Software Foundation.<\/p>\n<h2>Download Apache<\/h2>\n<p>Navigate to the Apache server&#8217;s official website:<\/p>\n<ul>\n<li><strong>httpd.apache.org<\/strong><\/li>\n<\/ul>\n<p>Click on the download button.<\/p>\n<p>Pick the latest version and download it.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2433\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-HTTP-Server-Website.png\" alt=\"Apache HTTP Server Website\" width=\"1808\" height=\"737\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-HTTP-Server-Website.png 1808w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-HTTP-Server-Website-300x122.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-HTTP-Server-Website-1024x417.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-HTTP-Server-Website-768x313.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-HTTP-Server-Website-1536x626.png 1536w\" sizes=\"auto, (max-width: 1808px) 100vw, 1808px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>On the download page, select Files for Microsoft Windows.<\/p>\n<p>Choose one of the websites: Apache Lounge.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2434\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-Lounge-Website.png\" alt=\"Apache Lounge\" width=\"1276\" height=\"658\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-Lounge-Website.png 1276w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-Lounge-Website-300x155.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-Lounge-Website-1024x528.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Apache-Lounge-Website-768x396.png 768w\" sizes=\"auto, (max-width: 1276px) 100vw, 1276px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Download the file httpd-x.x..zip based on the machine configuration(<strong>32-bit<\/strong> or <strong>64-bit<\/strong>).<\/p>\n<h2>Install Apache HTTP Server<\/h2>\n<p>Extract the zip file and save it to a favorable location on the hard disk.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2435\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Extract-Apache-Files.png\" alt=\"\" width=\"1280\" height=\"956\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Extract-Apache-Files.png 1280w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Extract-Apache-Files-300x224.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Extract-Apache-Files-1024x765.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Extract-Apache-Files-768x574.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>Open a command prompt shell and Run as Administrator.<\/p>\n<p>Change the directory to the <strong>bin<\/strong> under the <strong>Apache24<\/strong> folder.<\/p>\n<h2>Verify the Install<\/h2>\n<p>Run <strong>httpd.exe<\/strong><\/p>\n<p>The httpd.exe process is the main executable file for Apache HTTP Server on Windows. It&#8217;s responsible for:<\/p>\n<ul>\n<li>Handling incoming HTTP requests<\/li>\n<li>Serving Web pages<\/li>\n<li>Managing Server configurations.<\/li>\n<\/ul>\n<p><strong>Windows Defender firewall alert<\/strong><\/p>\n<p>Add a firewall exception and hit the <strong>Allow<\/strong> <strong>access<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2439 size-full\" title=\"Install Apache Server\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Windows-Defender-Firewall-Apache.png\" alt=\"Install Apache Server\" width=\"1280\" height=\"972\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Windows-Defender-Firewall-Apache.png 1280w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Windows-Defender-Firewall-Apache-300x228.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Windows-Defender-Firewall-Apache-1024x778.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Windows-Defender-Firewall-Apache-768x583.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>You&#8217;re receiving a Windows Defender firewall alert because the server process (httpd.exe) attempts to communicate through the firewall. This communication could be related to serving web pages or handling incoming HTTP requests.<\/p>\n<p>Open a Web browser, type localhost or the machine IP address in the address bar, and hit Enter.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2436\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/It-works-Apache-on-Local-Host.png\" alt=\"Apache default Webpage\" width=\"1280\" height=\"812\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/It-works-Apache-on-Local-Host.png 1280w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/It-works-Apache-on-Local-Host-300x190.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/It-works-Apache-on-Local-Host-1024x650.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/It-works-Apache-on-Local-Host-768x487.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p>That&#8217;s it. If the message &#8220;It works!&#8221; is displayed, you are done with the server installation.<\/p>\n<p>&nbsp;<\/p>\n<h3>Apache Service<\/h3>\n<p>Create a Windows Service to start the server automatically<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/questions\/how-to-create-a-windows-service-for-apache-server\/\">How to create Apache Windows Service<\/a><\/li>\n<\/ul>\n<p>Install Apache web server on a Linux machine:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/install-apache-http-server-on-ubuntu-linux\/\">Install Apache server on Ubuntu Linux<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Install Apache HTTP Server on Windows : Apache HTTP Server is the most popular open-source HTTP server available online. This page will teach us how to download<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-2429","post","type-post","status-publish","format-standard","hentry","category-windows","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/2429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=2429"}],"version-history":[{"count":18,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/2429\/revisions"}],"predecessor-version":[{"id":26616,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/2429\/revisions\/26616"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=2429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=2429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=2429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}