First, you need an HTTP server such as Apache or NGINX.
Second, you'll need PHP (presumably for Windows, unless you're trying to do all of this on Linux). I recommend the "Thread Safe" version.
Next, you need to follow a guide for setting up your HTTP server with PHP support. Each HTTP server is different. My personal preference is for using PHP via FastCGI with NGINX, which is as simple as properly configuring NGINX and launching php-cli.exe from your PHP installation with the correct parameters. There is information about doing that on Windows at this link.
Second, you'll need PHP (presumably for Windows, unless you're trying to do all of this on Linux). I recommend the "Thread Safe" version.
Next, you need to follow a guide for setting up your HTTP server with PHP support. Each HTTP server is different. My personal preference is for using PHP via FastCGI with NGINX, which is as simple as properly configuring NGINX and launching php-cli.exe from your PHP installation with the correct parameters. There is information about doing that on Windows at this link.