PHP Development with Windows Subsystem for Linux (WSL) | php[architect]

Learn how to use the Windows Subsystem for Linux (WSL) to make your coding environment more effective. WSL provides a new way to develop PHP applications on Windows while using native Linux binaries and tooling. This book gets you started installing Ubuntu as a WSL distribution with PHP, NGINX, and MySQL. You’ll also enhance your…

Source: PHP Development with Windows Subsystem for Linux (WSL) | php[architect]

ZDNet: Microsoft: WSL2’s Linux kernel will be delivered to Windows 10 users via Windows Update

Specifically, Microsoft has decided to remove the Linux kernel from the Windows OS image with WSL2. Instead, the company will deliver it to users’ machines using Windows Update. Users will be able to manually check for new kernel updates by clicking the “Check for Updates” button or by waiting for Windows to do this automatically.

“Our end goal is for this change to be seamless, where your Linux kernel is kept up to date without you needing to think about it. By default this will be handled entirely by Windows, just like regular updates on your machine,” said Microsoft Program Manager Craig Loewen in a blog post today outlining the coming change.


— ZDNet: Microsoft: WSL2’s Linux kernel will be delivered to Windows 10 users via Windows Update. https://www.zdnet.com/article/microsoft-wsl2s-linux-kernel-will-be-delivered-to-windows-10-users-via-windows-update/

Putting the AMP into LAMP  in Linux Subsystem for Windows 10

Lets have a look on what we have on this article:

  • Setting up Apache 2 in Linux Subsystem for Windows 10
  • Setting up MySQL Server in Linux Subsystem for Windows 10
  • Setting up PHP in Linux Subsystem for Windows 10
  • Visual Studio Code and PHP Extensions
  • Few tweaks to work on PHP, Visual Studio Code with Linux Subsystem for Windows

Source: How to setup Apache, MySQL and PHP in Linux Subsystem for Windows 10

Hey, what good’s Ubuntu 18.04 for web dev without Apache, PHP, and MySQL? Getting the full LAMP stack up and running in WSL is a breeze and then you can get some work done. BTW, don’t forget Git.

Activating Windows Subsystem for Linux on Windows 10

On of the most interesting things about the Windows 10 Anniversary update is the availability of of a full Ubuntu Linux environment running native to Windows. The Windows Subsystem for Linux promises to provide for true cross platform development on Windows. Getting WSL up and running is pretty easy, just 5 quick steps.

  1. In Settings -> Updates& Security go to For Developers and select Developer Mode
  2. In Program Manager select Turn Windows Features On and Off and select Windows Subsystem For Linux.
  3. Reboot
  4. After the restart hit the Windows key and type bash to get started. The first time bash is run you’ll be prompted to accept the licensing and WLS will download and install.
  5. Enter a username and a password and you’re all set.

Now you’ve got Ubuntu Linux at your fingers tips. At the prompt try sudo apt-get update and sudo apt-get upgrade to bring Ubuntu up to date.

For getting started I’d recommend Fun with the Windows Subsystem for Linux on the Windows Developer blog. It’s a good article that’ll show you around WSL a bit.

Still to be determined: can I run my full LAMP stack on it so I can use it for real development.