Configure local website on WSL2 with PHP and nginx

Wojtek on WSL, nginx, PHP, Apache · · Comments · 3 min read

I needed to make some changes to an old PHP (Wordpress) site and wanted to quickly run it locally. I don't actively use PHP anymore therefore I didn't want to install XAMPP or anything big like this. The obvious idea was to use WSL to run the site. First I tried with Apache, but for some reason, despite everything being... Read more »