Yes, don’t use Apache or Nginx, today I use Windows IIS to start local service ~!

1. Schedule phpStudy.

The main reason is that I am too lazy to install PHP by myself. If you are very diligent and energetic, you can install PHP integrated environment by yourself. Here I am a “fool”, install phpStudy and everything will be fine

1)Phpstudy websiteDownload the installation package and decompress the installation package.

2) Open PHPStudy, switch to php7.0.12-nts+ iIS7/8. (Choose your own PHP version)

After switching the version, you may not start mysql, this is another complex problem, you can locate the problem, not too much explanation here.

2. Open the IIS Manager, and navigate to the Website directory in the navigation tree on the left.

3. Right-click in “Website”, select Add Website, and fill in the corresponding information, as shown in the picture below:

4. Configure default files (index. PHP, index. HTML, and index. HTM) and delete other files.

5. Add PHP mapping, choose “Handler Mapping” –> “Add Module Mapping”

6. Fill in the module information as shown below. Note that the * of the request path *.php should not be less. Choose the executable, php-cgi.exe, in your appropriate PHP version directory

7. Fill in the name and then configure the request restrictions as shown in the picture, select “File or Folder” and then go through.

8. If the information you added is displayed in the mapping module list, the module is successfully added.

9. Restart IIS. Enter the address in your browser to access the website.