1 . PHP Download: https://windows.php.net/download Download php-7.1.31-Win32-VC14-thread-safe version);
2. PHP Installation: unzip the downloaded php7.1 direct enough. In fact, you do not need to be installed. For example, I downloaded over-extracting compressed file rename php folder. Move to D: \ Application \;
So the php runtime with the path in the D: \ Application \ php; there is php.exe executable files in this folder.
3. Configure environment variables: the downloaded php7.1 directly extract enough. In fact, you do not need to be installed. such as