{"id":2390,"date":"2020-08-27T06:57:29","date_gmt":"2020-08-27T12:57:29","guid":{"rendered":"https:\/\/www.scalahosting.com\/blog\/?p=2390"},"modified":"2026-11-19T01:42:22","modified_gmt":"2026-11-19T07:42:22","slug":"apache-server-latest-versions-and-version-history","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/blog\/apache-server-latest-versions-and-version-history\/","title":{"rendered":"Apache Server Latest Versions and Version History"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Apache Server (or HTTPd) powers about a quarter of all websites whose web server is known, according to <a href=\"https:\/\/w3techs.com\/technologies\/details\/ws-apache\">W3Techs<\/a>. It is one of the most popular solutions of its kind, serving millions of pages every minute. However, it now shares the market with Nginx and other web servers that have grown steadily over the past decade.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At the height of its strength during the early 2000s, Apache was behind close to half of all active websites. So what changed, and where does Apache stand today?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Is the Latest Apache Version?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The latest version of Apache HTTP Server is 2.4.71, released on 11 November 2026. Every current release belongs to the 2.4 branch, which first came out in February 2012 and is the only branch that still receives security updates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache publishes new 2.4.x releases several times a year, mostly security and bug fixes, so it\u2019s worth checking for updates regularly. To see which version your server runs, use the command apachectl -v (or httpd -v on some systems).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how the main Apache release branches compare:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular green-rows\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Branch<\/strong><\/th><th><strong>First released<\/strong><\/th><th><strong>Latest version<\/strong><\/th><th><strong>Latest release<\/strong><\/th><th><strong>Security support<\/strong><\/th><\/tr><\/thead><tbody><tr><td>2.4<\/td><td>21 Feb 2012<\/td><td>2.4.71<\/td><td>11 Nov 2026<\/td><td>Yes<\/td><\/tr><tr><td>2.2<\/td><td>1 Dec 2005<\/td><td>2.2.34<\/td><td>11 Jul 2017<\/td><td>Ended 11 Jul 2017<\/td><\/tr><tr><td>2.0<\/td><td>5 Apr 2002<\/td><td>2.0.65<\/td><td>9 Jul 2013<\/td><td>Ended 10 Jul 2013<\/td><\/tr><tr><td>1.3<\/td><td>1 Jun 1998<\/td><td>1.3.42<\/td><td>2 Feb 2010<\/td><td>Ended 3 Feb 2010<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"history\" class=\"wp-block-heading\"><strong><strong>History and Creation of Apache<\/strong><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Apache grew out of NCSA HTTPd, the web server Rob McCool wrote at the National Center for Supercomputing Applications (NCSA). After McCool left NCSA in mid-1994, development stalled, so webmasters began writing their own fixes and extensions. In February 1995, a small group of them, including Brian Behlendorf and Roy Fielding, started pooling those patches. That group became the Apache Group. You can read the full story in <a href=\"https:\/\/httpd.apache.org\/ABOUT_APACHE.html\">Apache\u2019s project history<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are two unverified theories of how the software got its name. The first claim is that the team wanted to pay tribute to the Apache Native American tribe. The second explanation stemmed from the developers considering the software \u201ca collection of patches\u201d \u2013 hence, the name \u201cApache server\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the time it was built and released in 1995, it quickly gained in popularity and within less than a year, it had overtaken NCSA HTTPd as the most popular web server on the internet. The growing popularity of Linux as a server platform helped sustain that lead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It also came with many desirable features at the time, including the ability to support IP-based virtual hosts easily. Later virtual hosts were able to support that as well as name-based virtual hosts as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The overall result was a highly popular web server that filled the needs of users seeking an appropriate open source software for many purposes including for the web. Today, the development of the Apache web server is overseen by the Apache Software Foundation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><a href=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2020\/08\/Apache-Benchmarks.webp\" data-fancybox=\"gallery\" data-caption=\"\" class=\"fb-gal-img-wrap fb-gal-link\"><img decoding=\"async\" width=\"624\" height=\"409\" src=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2020\/08\/Apache-Benchmarks.webp\" alt=\"Apache Server Latest Versions and Version History, History and Creation of Apache\" class=\"wp-image-75420\" srcset=\"https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2020\/08\/Apache-Benchmarks.webp 624w, https:\/\/www.scalahosting.com\/blog\/wp-content\/uploads\/2020\/08\/Apache-Benchmarks-300x197.webp 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/a><\/figure>\n\n\n\n<h2 id=\"apache\" class=\"wp-block-heading\"><strong><strong>What Exactly is Apache?<\/strong><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Apache is web server software built along the open source concept. Web server software helps receive connection requests and processes them. When a user keys a web page address into their web browser, that query is directed towards the Apache web server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The term web server is generic and actually applies to a machine that\u2019s able to do what Apache was built for. However, it\u2019s made up of more than just the web server software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The full web server will include hardware (such as CPU, memory, and storage space), along with an operating system (OS). Web server software like Apache sits on top of the OS, designed to process external requests. On a virtual server, all three come as one package. Every ScalaHosting cloud VPS comes with Apache installed by default. If you\u2019re new to virtual servers, read <a href=\"https:\/\/www.scalahosting.com\/blog\/what-is-a-vps-technical-explanation\/\">What is a VPS and How Does it Work<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is important to note that the core apache web server development was not meant to run web applications.<\/p>\n\n\n\n<h2 id=\"features\" class=\"wp-block-heading\"><strong><strong>Apache Servers \u2013 Top Features<\/strong><\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Free and Open Source<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are two key implications of Apache server being open source software. The first is that it\u2019s distributed for free. There is no commercial licensing involved. The second is that the source code is widely available and open for collaborative work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Multi-OS Support<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Apache server is multi-platform, meaning it can be deployed for use on multiple types of OS. It is most commonly run on Linux. However, it is also capable of working on Microsoft Windows and other systems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because of dwindling popularity of some OS like BeOS and TPF, Apache has been reducing its support for them. Separately, its modules and handlers let Apache serve applications written in many programming languages, such as PHP, Python, and Perl.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Good Performance Out of the Box<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are many reasons for the popularity of Apache server aside from being open source and multi-platform. For instance, a key trait is its ability to cope with significant amounts of traffic with few to none modifications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At its core, Apache supports most common web server features including Server Side Includes (SSI), Common Gateway Interface (CGI), URL redirection, proxy caching, and user authentication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a nutshell, Apache is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Free and open source<\/li>\n\n\n\n<li>Unrestricted by license<\/li>\n\n\n\n<li>Multi-platform capable<\/li>\n\n\n\n<li>Able to cope with high traffic volume<\/li>\n\n\n\n<li>Highly configurable<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Flexibility &amp; Modularity<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Apache is also highly desirable because of its two-way modularity. Those who are looking to increase functionality can make use of modules. Alternatively, those seeking lightweight deployments can strip it down to minimal operating requirements. The way it manages modules is one of the top advantages that Apache has.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The flexibility attributed to Apache doesn\u2019t end in feature extension or module strip-down however. It is also one of the easiest web server software to install and manage. This extends to ease of migration, and moving a deployment can be done with minimal need to amend the configuration file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In terms of support, there have been split emotions since commercially it is only available via third-parties. Unlike a web server such as Nginx, for example, there is no direct support channel for business deployment. However, this can also be seen as allowing corporates greater flexibility in their choice of vendor.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Extensive Ecosystem<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With more than 30 years of development behind it, Apache is one of the best-documented web server software in the market. If there\u2019s something in the documentation that is not covered, it is likely not an issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That being said, thanks to its history and extensive use, there is also a massive global community of Apache users. There is a huge amount of community support available where help can be obtained at any time.<\/p>\n\n\n\n<h2 id=\"performance\" class=\"wp-block-heading\"><strong><strong>Apache Servers Performance<\/strong><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As noted earlier, part of the appeal in Apache server is its ability to easily scale with modules. It does this especially well because of the isolation of its core. Unfortunately, the Apache core itself has a slight drawback.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache handles connections through multi-processing modules (MPMs), and the one you use has a big effect on performance. The original prefork model dedicates a whole process to each connection, which uses a lot of memory when traffic is high. That\u2019s where Apache\u2019s reputation for struggling under load comes from.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache 2.4 offers three main MPMs:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prefork<\/strong> \u2013 one single-threaded process per connection. It\u2019s the most memory-hungry option and is mainly needed for older modules that aren\u2019t thread-safe, such as mod_php.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Worker<\/strong> \u2013 multiple processes, each running many threads, so one process can serve many connections at once with far less memory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Event<\/strong> \u2013 builds on worker but hands idle keep-alive connections to a dedicated listener thread, so worker threads are only busy while a request is actually being processed. It\u2019s the default on most modern Linux distributions and the best choice for busy sites. Apache\u2019s <a href=\"https:\/\/httpd.apache.org\/docs\/2.4\/mpm.html\">MPM documentation<\/a> explains each option in detail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Paired with the event MPM and PHP-FPM for dynamic content, Apache handles high-traffic websites comfortably. Most of the old performance gap comes from running prefork with mod_php.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another common bottleneck is the .htaccess file. When AllowOverride is enabled, Apache checks every directory in the requested path for .htaccess files on each request, which adds disk I\/O. On servers you control, moving those rules into the main configuration and setting AllowOverride None removes that overhead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx is often faster than Apache for serving static files and handling large numbers of simultaneous connections, which is why many servers run Nginx in front of Apache as a reverse proxy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Content Handling: Static versus Dynamic<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the early days of the Internet, most websites simply served static content. The delivery of this type of content is fairly simple \u2013 request and serve. Today, thanks to web applications and the use of different scripts, sites delivering dynamic content have become common.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dynamic websites are popular due to their capacity for complex behavior. These sites are typically highly interactive and can be custom-built on the fly to suit a range of needs. As you might expect, the web server needs for handling these two types of content are not the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks to the simplicity of serving static content, Apache (and most other web servers) take a very direct approach. When a request is received, the site is simply served \u201cas is\u201d. It is in handling dynamic content that Apache takes its own path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For dynamic content, such as PHP pages, Apache needs help from a module or an external process. The traditional approach embeds the interpreter in every Apache process (mod_php). It\u2019s simple to set up, but each process carries the full interpreter, even when it\u2019s only serving an image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The modern approach hands dynamic requests to a separate pool of workers, such as PHP-FPM through mod_proxy_fcgi. Apache stays lightweight, can use the event MPM, and PHP scales independently. That\u2019s the setup most hosts use today.<\/p>\n\n\n\n<h2 id=\"security\" class=\"wp-block-heading\"><strong><strong>Apache Servers Security<\/strong><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As with most server software, Apache was designed to be secure. However, as with almost everything connected the possibility of hacks and exploits still remains. This has been demonstrated a number of times over the course of Apache server\u2019s lifetime.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One more recent example of a vulnerability (that has since been patched) was CVE-2019-0211. The flaw was discovered by a researcher which could have enabled attackers to gain full root access to the server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These flaws exist alongside possible vulnerabilities that exist simply because of the way Apache server was designed. Some potential weak spots in default Apache server deployments include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enabled directory listings<\/li>\n\n\n\n<li>Lack of SSL encryption<\/li>\n\n\n\n<li>Running the daemon user and group<\/li>\n\n\n\n<li>Configuration information in footer of server-generated documents<\/li>\n\n\n\n<li>Inclusion of possibly unnecessary modules<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Hardening Apache Security<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Despite inherent robustness, it should be noted that tech teams should take further steps to harden Apache server deployments. This will involve changing default settings as well as the installation of additional security modules especially mod_security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Basic hardening activities should at the very least include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Installation of mod_evasive \u2013 This module helps mitigate HTTP flood (DoS) and brute-force attacks. It tracks how often each IP address requests pages and temporarily blocks addresses that exceed the limits you set.<\/li>\n\n\n\n<li>Maintaining HTTP Limits \u2013 Another DDoS mitigation utility, setting these limits will help by working against the most basic concept of such attacks \u2013 a flood of requests. Simple, yet very effective.<\/li>\n\n\n\n<li>Deletion of Modules Not in Use \u2013 While this is a common tactic used cross platform, Apache has a leg up because of its focus on modularity. Its capacity for strip-down enables users to tightly limit the number of modules in use, lowering risk profiles<\/li>\n\n\n\n<li>Denying Directory Indexing \u2013 Access to the root is the cause of much evil and disabling this can help protect the contents of your main directory.<\/li>\n\n\n\n<li>Masking of Server Configuration Details \u2013 The less information an attacker has about a server the better things will be. Unfortunately, there are instances where Apache tends to append this information and these need to be mitigated against.<\/li>\n\n\n\n<li>Restricting .htaccess Overrides \u2013 .htaccess files let anyone with write access to a directory change how Apache behaves there. Set AllowOverride None wherever you don\u2019t need them, and limit it to the specific directives you do need elsewhere. WordPress, for example, only needs FileInfo for its permalink rules.<\/li>\n\n\n\n<li>Deploying Mod SSL \u2013 mod_ssl ships with Apache, but it has to be enabled and configured with a certificate before your site can serve pages over HTTPS. It uses OpenSSL for cryptography.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Do note that hardening activities will sometimes be dependent on the Apache http server version.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Check and Update Your Apache Version<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To see which version your server runs, use <strong>apachectl -v<\/strong> (or <strong>httpd -v<\/strong> on RHEL-based systems and <strong>apache2 -v<\/strong> on Debian and Ubuntu).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To update Apache from your distribution\u2019s repositories:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Debian and Ubuntu:<\/strong> sudo apt update &amp;&amp; sudo apt install &#8211;only-upgrade apache2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>AlmaLinux, Rocky Linux, and RHEL:<\/strong> sudo dnf update httpd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then restart the service (<strong>sudo systemctl restart apache2<\/strong> or <strong>httpd<\/strong>) to load the new version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Don\u2019t be alarmed if your server reports an older 2.4.x number than the latest release. Linux distributions usually backport security fixes into the version they originally shipped, so a fully patched server can still show, for example, 2.4.58. Check your distribution\u2019s security advisories rather than comparing version numbers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Apache Servers Further Development<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Apache\u2019s recent releases are all minor 2.4.x updates, mostly security patches and bug fixes. You\u2019ll find the current version in the \u201cWhat Is the Latest Apache Version?\u201d section above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The last major release of Apache server was 2.4, released in February 2012. Version 2.4 was meant primarily to cater to shifts towards Cloud technology at the time and optimize Apache performance for those platforms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Version History<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>April 1995 \u2013 First public release of Apache HTTP Server version 0.6.2.<\/li>\n\n\n\n<li>July 1995 \u2013 Switch to new \u201cShambhala\u201d server base architecture with modular structure and API.<\/li>\n\n\n\n<li>December 1995 \u2013 Apache 1.0 released.<\/li>\n\n\n\n<li>March 1999 \u2013 Establishment of the Apache Software Foundation<\/li>\n\n\n\n<li>March 2000 \u2013 Apache version 2.0 Alpha 1 introduced with complete server architecture redesign.<\/li>\n\n\n\n<li>April 2002 \u2013 Apache 2.0 released to support filtered I\/O and IPv6.<\/li>\n\n\n\n<li>April 2002 \u2013 More flexible API authorization, improved cache and proxy modules.<\/li>\n\n\n\n<li>January 2004 \u2013 Codebase relicensed to the Apache 2.0 License<\/li>\n\n\n\n<li>December 2005 \u2013 Release of Apache 2.2<\/li>\n\n\n\n<li>August 2011 \u2013 Apache 2.2.20 release fixes \u201cApache Killer\u201d DoS bug.<\/li>\n\n\n\n<li>February 2012 \u2013 Version 2.4 released. First major release in over six years aimed at improving Cloud performance.<\/li>\n\n\n\n<li>October 2015 \u2013 Support for HTTP\/2 added<\/li>\n\n\n\n<li>July 2017 \u2013 Apache 2.2.34 released, the final 2.2 release. The 2.2 branch reaches end of life.<\/li>\n\n\n\n<li>April 2019 \u2013 2.4.39 update patches six flaws including Carpe Diem Vulnerability.<\/li>\n\n\n\n<li>August 2020 \u2013 Version 2.4.46 released<\/li>\n\n\n\n<li>October 2021 \u2013 A path traversal flaw in 2.4.49 (CVE-2021-41773) is actively exploited. Fixes follow in 2.4.50 and 2.4.51.<\/li>\n\n\n\n<li>November 2026 \u2013 Version 2.4.71 released.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">More than 30 years after its first release, Apache is still one of the most widely used web servers in the world. Its strengths are flexibility, a huge module library, per-directory configuration through .htaccess, and decades of documentation and community support.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx and LiteSpeed often have the edge on raw performance, but the gap is much smaller than it used to be. A modern Apache setup, with the event MPM, PHP-FPM, and caching, handles busy sites well. Whichever server you choose, keep it on a supported 2.4.x release and apply security updates promptly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Frequently Asked Questions<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: Is Apache HTTP Server free?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Yes. Apache is free and open source, released under the Apache License 2.0. You can use it, modify it, and run it commercially without paying a license fee. You only pay for the server it runs on and any support you choose to buy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: Which Apache versions are still supported?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Only the 2.4 branch still receives security updates. The 2.2 branch reached end of life in 2017, and older branches were retired long before that. If your server still runs 2.2 or earlier, upgrade to the latest 2.4.x release as soon as possible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: How do I check which Apache version my server runs?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Run apachectl -v on the command line. On some systems the command is httpd -v (RHEL-based distributions) or apache2 -v (Debian and Ubuntu). Keep in mind that Linux distributions often backport security fixes, so a fully patched server may show an older 2.4.x number than the latest release.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: What\u2019s the difference between Apache and Nginx?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Both are popular open source web servers. Nginx is often faster for static files and large numbers of simultaneous connections. Apache is more flexible, thanks to its module library and per-directory configuration through .htaccess files. Many servers use both, with Nginx in front as a reverse proxy and Apache handling the application behind it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: Which Apache MPM should I use?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> For most modern websites, the event MPM is the best choice. It handles many connections with little memory, and it\u2019s the default on most current Linux distributions. Use prefork only if you depend on a module that isn\u2019t thread-safe, such as mod_php. Even then, switching to PHP-FPM lets you move to event.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: Does Apache support HTTP\/2?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> Yes. Apache has supported HTTP\/2 through the mod_http2 module since 2015. You need to enable the module and add Protocols h2 http\/1.1 to your configuration. HTTP\/2 in browsers also requires HTTPS, so mod_ssl must be set up too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q: Is Apache the same as Apache Tomcat?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A:<\/strong> No. Both come from the Apache Software Foundation, but they\u2019re different products. Apache HTTP Server is a general-purpose web server. Apache Tomcat runs Java web applications. They\u2019re often used together, with Apache HTTP Server passing Java requests to Tomcat.<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n    {\n      \"@context\": \"https:\/\/schema.org\",\n      \"@type\": \"FAQPage\",\n      \"mainEntity\": [{\n        \"@type\": \"Question\",\n        \"name\": \"Is Apache HTTP Server free?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Yes. Apache is free and open source, released under the Apache License 2.0. You can use it, modify it, and run it commercially without paying a license fee. You only pay for the server it runs on and any support you choose to buy.\"\n        }\n      }, {\n        \"@type\": \"Question\",\n        \"name\": \"Which Apache versions are still supported?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Only the 2.4 branch still receives security updates. The 2.2 branch reached end of life in 2017, and older branches were retired long before that. If your server still runs 2.2 or earlier, upgrade to the latest 2.4.x release as soon as possible.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"How do I check which Apache version my server runs?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Run apachectl -v on the command line. On some systems the command is httpd -v (RHEL-based distributions) or apache2 -v (Debian and Ubuntu). Keep in mind that Linux distributions often backport security fixes, so a fully patched server may show an older 2.4.x number than the latest release.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"What\u2019s the difference between Apache and Nginx?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Both are popular open source web servers. Nginx is often faster for static files and large numbers of simultaneous connections. Apache is more flexible, thanks to its module library and per-directory configuration through .htaccess files. Many servers use both, with Nginx in front as a reverse proxy and Apache handling the application behind it.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Which Apache MPM should I use?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"For most modern websites, the event MPM is the best choice. It handles many connections with little memory, and it\u2019s the default on most current Linux distributions. Use prefork only if you depend on a module that isn\u2019t thread-safe, such as mod_php. Even then, switching to PHP-FPM lets you move to event.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Does Apache support HTTP\/2?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"Yes. Apache has supported HTTP\/2 through the mod_http2 module since 2015. You need to enable the module and add Protocols h2 http\/1.1 to your configuration. HTTP\/2 in browsers also requires HTTPS, so mod_ssl must be set up too.\"\n        }\n      },{\n        \"@type\": \"Question\",\n        \"name\": \"Is Apache the same as Apache Tomcat?\",\n        \"acceptedAnswer\": {\n          \"@type\": \"Answer\",\n          \"text\": \"No. Both come from the Apache Software Foundation, but they\u2019re different products. Apache HTTP Server is a general-purpose web server. Apache Tomcat runs Java web applications. They\u2019re often used together, with Apache HTTP Server passing Java requests to Tomcat.\"\n        }\n      }]\n    }\n<\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\"><i>See why Joomla <b>Co-Founder Brian Teeman<\/b> moved all his websites to ScalaHosting\u2026<\/i><\/span><\/p>\n\n\n\n<div class=\"wistia-player-wrap\" style=\"max-width: 600px;\" data-id=\"m48ddhug81\">\n<div class=\"wistia_responsive_padding\" style=\"padding: 56.25% 0 0 0; position: relative;\">\n<div class=\"wistia_responsive_wrapper\" style=\"height: 100%; left: 0; position: absolute; top: 0; width: 100%;\">\n<div class=\"wistia_embed wistia_async_m48ddhug81 videoFoam=true\" style=\"height: 100%; position: relative; width: 100%;\">\n<div class=\"wistia_swatch\" style=\"height: 100%; left: 0; opacity: 0; overflow: hidden; position: absolute; top: 0; transition: opacity 200ms; width: 100%;\"><img decoding=\"async\" style=\"filter: blur(5px); height: 100%; object-fit: contain; width: 100%;\" src=\"https:\/\/fast.wistia.com\/embed\/medias\/m48ddhug81\/swatch\" alt=\"\" aria-hidden=\"true\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<img decoding=\"async\" class=\" video-preload-img\" src=\"https:\/\/www.scalahosting.com\/asset\/images\/pages\/homepagev2\/banner\/video-preload-img.jpg\" alt=\"video-preload-img\" width=\"513\" height=\"289\">\n<img decoding=\"async\" class=\" video-play-img\" src=\"https:\/\/www.scalahosting.com\/asset\/images\/pages\/homepagev2\/banner\/video-play-img.png\" alt=\"video-preload-img\" width=\"513\" height=\"289\">\n<div class=\"videoloading\">\n<div class=\"loader\"><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"youtube-player\" id=\"4zZiFTQoXRM\"><div class=\"youtube-player-content\" data-id=\"4zZiFTQoXRM\"><iframe data-no-lazy=\"1\" width=\"638\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/4zZiFTQoXRM\" srcdoc=\"&lt;style&gt;*{padding:0;margin:0;overflow:hidden}html,body{height:100%;background:#000}a{display:block;position:relative;width:100%;height:100%;cursor:pointer}img{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:100%;max-width:100%;height:auto;border:none}a:hover img{filter:brightness(75%)}.play{position:absolute;width:72px;height:51px;left:50%;top:50%;margin:-26px 0 0 -36px;background:url(&#039;\/asset\/images\/youtube\/YouTube-play-button.png&#039;) no-repeat center\/72px}&lt;\/style&gt;&lt;a href=&quot;https:\/\/www.youtube.com\/embed\/4zZiFTQoXRM?autoplay=1&quot; onclick=&quot;if(window.frameElement){window.frameElement.src=this.href;window.frameElement.removeAttribute(&#039;srcdoc&#039;);return false;}&quot; aria-label=&quot;What is a VPS \u2013 Everything you need to know!&quot;&gt;&lt;img data-no-lazy=&quot;1&quot; src=&quot;https:\/\/i.ytimg.com\/vi\/4zZiFTQoXRM\/mqdefault.jpg&quot; width=&quot;320&quot; height=&quot;180&quot; alt=&quot;What is a VPS \u2013 Everything you need to know!&quot;&gt;&lt;span class=&quot;play&quot;&gt;&lt;\/span&gt;&lt;\/a&gt;\" title=\"What is a VPS \u2013 Everything you need to know!\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen loading=\"lazy\"><\/iframe><\/div><\/div>\n\n\n\n<script type=\"application\/ld+json\">\n{\n    \"@context\": \"https:\/\/schema.org\",\n    \"@type\": \"VideoObject\",\n    \"name\": \"What is a VPS - Everything you need to know!\",\n    \"description\": \"In this video we'll explain what is a VPS, how does it work and why you might need one. A lot of poeple are familiar with shared hosting nowdays so we'll compare these two options so it's easy to understand.\",\n    \"thumbnailUrl\": [\n        \"https:\/\/i3.ytimg.com\/vi\/4zZiFTQoXRM\/maxresdefault.jpg\"\n    ],\n    \"uploadDate\": \"2022-04-11T00:00:00+00:00\",\n    \"duration\": \"PT4M19S\",\n    \"embedUrl\": \"https:\/\/www.youtube.com\/embed\/4zZiFTQoXRM\"\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Apache Server (or HTTPd) powers about a quarter of all websites whose web server is known, according to W3Techs. It &#8230;<\/p>\n","protected":false},"author":107,"featured_media":75418,"comment_status":"open","ping_status":"closed","sticky":false,"template":"single-cluster-vps.php","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[61,3],"tags":[],"class_list":["post-2390","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-hosting","category-web-hosting-in-general"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts\/2390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/users\/107"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2390"}],"version-history":[{"count":13,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts\/2390\/revisions"}],"predecessor-version":[{"id":75421,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/posts\/2390\/revisions\/75421"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/media\/75418"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}