PHP requires at least Windows 2008/Vista. Either 32-Bit or 64-bit (AKA X86 or X64. PHP does not run on Windows RT/WOA/ARM). As of PHP 7.2.0, Windows 2008 and Vista are no longer supported. As of PHP 8.3.0, Windows 2008 R2 and Windows 7 are no longer supported.
PHP requires the Visual C runtime (CRT). Many applications require that so it may already be installed.
The Microsoft Visual C++ Redistributable for Visual Studio 2022 is suitable for all these PHP versions, see » https://visualstudio.microsoft.com/downloads/.
You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds.
If CRT is already installed, the installer will tell you that and not change anything.
The CRT installer supports the /quiet and /norestart command-line switches, so you can script running it.