There many ways to setup a PHP development environment for Windows, WSL, Docker, Virtual Machine, WAMP and similar pre-packaged installers, etc, all of them works fine. I prefer somewhat old school approach to setup everything manually. Here is how
I will setup this environment for 64 bit Windows. If you are on 32 bit you have to download the appropriate packages for that. I also setup everything for a local User, if you prefer to make it global for everyone you can do that as well (e.g install everything in C:\Wamp
).
Create a directory somewhere called Wamp (or whatever). I will put mine at %OneDrive%\Program\Wamp
. That way I can share my development environment between machines. (My %OneDrive%\Program
directory consist of various Windows programs and tools I share between my machines, thus it makes sense to create a subdirectory there).