
Note that WSL2 requires hardware support for virtualization and uses Hyper-V under the hood, but is available on Windows 10 Home as well as Windows 10 Pro. (Servers are port-forwarded to localhost, so this mostly works ok for setting up a web server.) WSL2 is compatible with more software, but can complicate some integration scenarios a little as the VM has its own IP address separate from localhost. It is possible to freely upgrade/downgrade from WSL1 and WSL2.

#INSTALL ANACONDA WINDOWS SUBSYSTEM FOR LINUX UPDATE#
While MediaWiki should work with WSL1, the May 2020 Update introduces WSL 2 as an alternative. There are two major versions of WSL available: the original which emulates the Linux kernel ABI as a Windows driver, and the newer WSL2 which uses a specialized Hyper-V virtual machine to run a native Linux kernel. Only run MediaWiki and extensions that you trust. It is strongly recommended to use this for development purposes only, not for server deployments, and to limit network access to the web server to avoid accidentally opening anything to the network. In particular, note that PHP and other Linux code running in the web server may have access to your Windows C:\ drive and may be able to read or modify files or run Windows programs. MediaWiki is a web application, and following these directions will set up a web server that runs on your computer and can be exposed to other computers on the network.

However, WSL requires a 64-bit edition of Windows 10 (圆4 or ARM64), and cannot run on 32-bit x86 Windows 10 installations. This may make it a good option for Windows 10 laptops with limited RAM and CPU resources.

This can be used to run MediaWiki as if on a Linux machine, with less overhead and better integration compared to setting up and running a virtual machine. Windows 10 includes a Linux compatibility layer, the Windows Subsystem for Linux, designed to help web developers needing a Linux/Unix development environment on a Windows computer.
