Step 2: Download Ubuntu or Centos for WSL For more info on it, see our article: Enable WSL on Windows 10 or server. From where select Windows subsystem for Linux to enable it. If you haven’t enabled the WSL yet, then simply search for “ Turn Windows feature on or off” in the Windows search box and open it. Step 5: Test Windows Apache web server is running or not Install Apache HTTP web server on Windows 10 -WSL Step 1: Enable WSL on Windows 10 or 2016 server Moreover, with the announcement of WSL 2 (Windows subsystem Linux second version) in which Microsoft has integrated full-fledged Linux kernel for WSL makes it better than before. You can use some Linux server such as Ubuntu 18.04 or Centos 7 on Windows subsystem for Linux to install Apache along with Mysql and PHP to get the same degree of performance as you except on some native Linux server or Desktop. In such situation, WSL (Windows subsystem for Linux) is a boon on Microsoft Windows 10 and Windows 2016 servers. Other options that left are XAMPP or WAMPServer, however, they are not meant to work for any production environment and also some times not so much performative. Hence, it could be a very tedious job to install each part of LAMP on a system which is primarily not meant for it. Thus, on Windows Desktop or server, definitely, you are not looking for solely Apache installation, perhaps whole LAMP stack. As we know the Apache HTTP web server is part of Linux and work generally in LAMP (Linux, Apache, MySQL, PHP) environment to support any web application.
You can install Apache on Windows 10 very easily it is not a Sisyphean task anymore, you don’t need to need to go through multiple documentations to understand how to configure and up it to work with.