Nettet11. apr. 2024 · To get the WSL, and in our case, Ubuntu, running in Windows 10, follow the directions in Microsoft's documentation: Install the Windows Subsystem for Linux … Nettet1. jan. 2024 · To install the latest version of PHP (7.4 at the time I'm writing this article), run the following command: $ sudo apt-get install php7.4. Thanks to the "ondrej/php" …
Web development environment with WSL 2 and Docker. - Medium
Nettet1. sep. 2024 · Learn how to install, set up, manage, and use a full Linux environment on Windows 10 & 11 PCs with Windows Subsystem for Linux 2 (WSL2). Nettet2. feb. 2024 · WSL. WSL - Windows Subsystem for Linux - is a compatibility layer for running Linux binary executables natively on Windows 10.Currently, it supports several … cottage on lake michigan
How to setup Windows Subsystem for Linux for a PHP
Nettet1. jan. 2024 · To install the latest version of PHP (7.4 at the time I'm writing this article), run the following command: $ sudo apt-get install php7.4. Thanks to the "ondrej/php" repository, you can install any version you want: $ sudo apt-get install php7.3 $ sudo apt-get install php7.2 $ sudo apt-get install php7.1. There you go! Nettet22. sep. 2024 · For example, if you have PHP 7.4 installed, and your App doesn't support PHP 8.* yet, then: apt-mark hold php7.4-common apt-mark hold php7.4-fpm Share. Follow answered Dec 18, 2024 at 11:27. Erik Pöhler Erik Pöhler. 742 2 2 gold badges 9 9 silver badges 22 22 bronze badges. Nettet13. feb. 2024 · To do this, you can click the Remote-WSL control on the VSCode status bar (bottom left corner) and choose "Reopen Folder in WSL". It took about 10 minutes to "install" Remote-WSL into WSL2. Thereafter, I had to "install" (or enable) the PHP Debug extension specifically in the WSL:Ubuntu WSL2 environment, even though it was … breathing pump over the counter