selective focus photography of person using iphone x
, , ,

Open PHP in Browser: WSL

I develop mostly in PHP, so it makes sense that I have the Open PHP/HTML/JS In Browser installed in my vscode-worspace. One thing I haven’t been able to get it to do however is open a browser from the Windows when using an SSH or WSL connection. However, you can install Midori on WSL, and it will open as a graphical environment. Just map the custom browser to /usr/bin/midori after installation.

Sadly, Midori doesn’t work anymore. You might try falkon instead. Try the following until you find a browser to install on your Windows Subsystem for Linux installation.

sudo apt update && sudo apt --fix-missing --fix-broken update -y 
sudo apt install firefox-esr
sudo apt install falkon
sudo apt install epiphany-browser
sudo apt install web
sudo apt install chromium
sudo apt install google-chrome
sudo apt install torbrowser-launcher
sudo apt install microsoft-edge-stable
sudo apt install opera-stable
sudo apt install vivaldi-stable

# if none these work for you. try installing an alterative package, like Flatpak or AppImage
# e.g. 
# apt install flatpak
# then try 
# flatpak list browser (something like that. flatpak --help to find the command for searching it. more luck via their website)
sudo apt install midori

Whatchu do


Leave a Reply

Your email address will not be published. Required fields are marked *